Re: [PATCH v3 5/5] perf/script: add support for skid ip

Jiri Olsa
2017-11-08T10:43:42Z

On Tue, Nov 07, 2017 at 11:56:37PM -0800, Stephane Eranian wrote:

SNIP

> diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
> index 223165055d41..ee8fb635f694 100644
> --- a/tools/perf/util/session.c
> +++ b/tools/perf/util/session.c
> @@ -1133,7 +1133,7 @@ static void dump_sample(struct perf_evsel *evsel, union perf_event *event,
> sample_read__printf(sample, evsel->attr.read_format);
>
> if (sample_type & PERF_SAMPLE_SKID_IP)
> - printf("... skid_ip: %" PRIu64 "\n", sample->skid_ip);
> + printf("... skid_ip: 0x%" PRIx64 "\n", sample->skid_ip);

should be part of the patch 3/5

jirka