lkml.org 
[lkml]   [2020]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 15/15] perf record: Add --buildid-mmap option to enable mmap's build id
On Mon, Dec 28, 2020 at 10:44:37AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Dec 14, 2020 at 11:54:57AM +0100, Jiri Olsa escreveu:
> > Adding --buildid-mmap option to enable build id in mmap2 events.
> > It will only work if there's kernel support for that and it disables
> > build id cache (implies --no-buildid).
> >
> > It's also possible to enable it permanently via config option
> > in ~.perfconfig file:
> >
> > [record]
> > build-id=mmap
> >
> > Also added build_id bit in the verbose output for perf_event_attr:
> >
> > # perf record --buildid-mmap -vv
> > ...
> > perf_event_attr:
> > type 1
> > size 120
> > ...
> > build_id 1
> >
> > Adding also missing text_poke bit.
>
> I'm moving this to just before the:
>
> perf tools: Add support to display build id when available in PERF_RECORD_MMAP2 events
>
> So that I can actually print the synthesized/obtained from the kernel
> build-ids, i.e. this:
>
> perf report -D | grep MMAP2 | head -4
>
> Will work at that point.

ok, thanks

jirka

\
 
 \ /
  Last update: 2020-12-29 00:05    [W:0.658 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site