Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1303434

Re: [PATCH 2/8] perf tools: add option to record sample physical address

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/8] perf tools: add option to record sample physical address
Date 2016-01-07 11:00 +0100
Message-ID <qOfwm-6lG-7@gated-at.bofh.it> (permalink)
References <qO10l-4M5-3@gated-at.bofh.it> <qO10n-4M5-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jan 06, 2016 at 06:04:31AM -0500, kan.liang@intel.com wrote:

SNIP

> diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
> index d5636ba..670ff4f 100644
> --- a/tools/perf/util/session.c
> +++ b/tools/perf/util/session.c
> @@ -1122,6 +1122,9 @@ static void dump_sample(struct perf_evsel *evsel, union perf_event *event,
>  	if (sample_type & PERF_SAMPLE_DATA_SRC)
>  		printf(" . data_src: 0x%"PRIx64"\n", sample->data_src);
>  
> +	if (sample_type & PERF_SAMPLE_PHYS_ADDR)
> +		printf(" .. phys_addr: 0x%"PRIx64"\n", sample->phys_addr);

could you also please add PERF_SAMPLE_PHYS_ADDR __p_sample_type
so perf evlist displays it?

thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 2/8] perf tools: add option to record sample physical address kan.liang@intel.com - 2016-01-06 19:30 +0100
  Re: [PATCH 2/8] perf tools: add option to record sample physical  address Jiri Olsa <jolsa@redhat.com> - 2016-01-07 11:00 +0100

csiph-web