[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171113115245.GD3017@krava>
Date: Mon, 13 Nov 2017 12:52:45 +0100
From: Jiri Olsa <jolsa@...hat.com>
To: Stephane Eranian <eranian@...gle.com>
Cc: linux-kernel@...r.kernel.org, acme@...hat.com,
peterz@...radead.org, mingo@...e.hu, ak@...ux.intel.com,
kan.liang@...el.com
Subject: Re: [PATCH v4 5/5] perf/script: add support for PERF_SAMPLE_SKID_IP
On Wed, Nov 08, 2017 at 11:57:13PM -0800, Stephane Eranian wrote:
> This patch adds a skid_ip field to perf script
> to dump the raw value of the PERF_SAMPLE_SKID_IP
> field in each sample.
>
> $ perf script -F +ip,+skid_ip ......
>
> The field is not enabled by default.
>
> Signed-off-by: Stephane Eranian <eranian@...gle.com>
> ---
> tools/perf/Documentation/perf-script.txt | 2 +-
> tools/perf/builtin-script.c | 10 ++++++++--
> 2 files changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/tools/perf/Documentation/perf-script.txt b/tools/perf/Documentation/perf-script.txt
> index 2811fcf684cb..96871bd3a576 100644
> --- a/tools/perf/Documentation/perf-script.txt
> +++ b/tools/perf/Documentation/perf-script.txt
> @@ -117,7 +117,7 @@ OPTIONS
> Comma separated list of fields to print. Options are:
> comm, tid, pid, time, cpu, event, trace, ip, sym, dso, addr, symoff,
> srcline, period, iregs, uregs, brstack, brstacksym, flags, bpf-output, brstackinsn,
> - brstackoff, callindent, insn, insnlen, synth, phys_addr.
> + brstackoff, callindent, insn, insnlen, synth, phys_addr, skid_ip.
while we are at it, could we keep it the same as the field name in perf record?
I dont mind using '-' or '_', just please keep it same
other then that it looks ok, for patchset:
Acked-by: Jiri Olsa <jolsa@...nel.org>
thanks,
jirka
Powered by blists - more mailing lists