Re: [PATCH 12/24] perf tools: Store build id from mmap2 events

2020-11-17 Thread Jiri Olsa
On Tue, Nov 17, 2020 at 09:38:05AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 17, 2020 at 12:00:41PM +0100, Jiri Olsa escreveu: > > When processing mmap2 event, check on the build id > > misc bit: PERF_RECORD_MISC_BUILD_ID and if it's set, > > store the build id in mmap's dso object. > >

Re: [PATCH 12/24] perf tools: Store build id from mmap2 events

2020-11-17 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 17, 2020 at 12:00:41PM +0100, Jiri Olsa escreveu: > When processing mmap2 event, check on the build id > misc bit: PERF_RECORD_MISC_BUILD_ID and if it's set, > store the build id in mmap's dso object. > > Also adding the build id data arts to struct > perf_record_mmap2 event definition

[PATCH 12/24] perf tools: Store build id from mmap2 events

2020-11-17 Thread Jiri Olsa
When processing mmap2 event, check on the build id misc bit: PERF_RECORD_MISC_BUILD_ID and if it's set, store the build id in mmap's dso object. Also adding the build id data arts to struct perf_record_mmap2 event definition. Signed-off-by: Jiri Olsa --- kernel/events/core.c| 4

[PATCH 12/24] perf tools: Store build id from mmap2 events

2020-11-09 Thread Jiri Olsa
When processing mmap2 event, check on the build id misc bit: PERF_RECORD_MISC_BUILD_ID and if it's set, store the build id in mmap's dso object. Also adding the build id data arts to struct perf_record_mmap2 event definition. Signed-off-by: Jiri Olsa --- tools/lib/perf/include/perf/event.h | 18