[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201225052751.24513-1-leo.yan@linaro.org>
Date: Fri, 25 Dec 2020 13:27:48 +0800
From: Leo Yan <leo.yan@...aro.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
John Garry <john.garry@...wei.com>,
Will Deacon <will@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Alexandre Truong <alexandre.truong@....com>,
Ian Rogers <irogers@...gle.com>,
Thomas Richter <tmricht@...ux.ibm.com>,
He Zhe <zhe.he@...driver.com>,
Sumanth Korikkar <sumanthk@...ux.ibm.com>,
Alexis Berlemont <alexis.berlemont@...il.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Leo Yan <leo.yan@...aro.org>
Subject: [PATCH v2 0/3] perf arm64: Support SDT
This patch is to enable SDT on Arm64.
Since Arm64 SDT marker in ELF file is different from other archs,
especially for using stack pointer (sp) to retrieve data for local
variables, patch 01 is used to fixup the arguments for this special
case. Patch 02 is to add argument support for Arm64 SDT.
This patch set has been verified on Arm64/x86_64 platforms with a
testing program usdt_test. The testing approach is described in the
patch set v1 [1].
Changes from v1:
* Added Arnaldo's patch for fixing memory leak (Arnaldo);
* Refined patch "perf probe: Fixup Arm64 SDT arguments" to use
asprintf() and check pointer is valid or not (Arnaldo);
* Minor changes in patch "perf arm64: Add argument support for SDT"
for the regular expression;
* Added Masami's Ack tag for patch 03.
[1] https://lore.kernel.org/patchwork/cover/1356212/
Arnaldo Carvalho de Melo (1):
perf probe: Fix memory leak in synthesize_sdt_probe_command()
Leo Yan (2):
perf probe: Fixup Arm64 SDT arguments
perf arm64: Add argument support for SDT
tools/perf/arch/arm64/util/perf_regs.c | 94 ++++++++++++++++++++++++++
tools/perf/util/probe-file.c | 49 ++++++++++++--
2 files changed, 139 insertions(+), 4 deletions(-)
--
2.17.1
Powered by blists - more mailing lists