lkml.org 
[lkml]   [2020]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 24/24] perf record: Add --buildid-mmap option to enable mmap's build id
On Wed, Nov 11, 2020 at 09:00:46AM -0800, Andi Kleen wrote:
> On Mon, Nov 09, 2020 at 10:54:15PM +0100, Jiri Olsa wrote:
> > 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).
>
> What's the point of the option? Why not enable it by default
> if the kernel supports it?
>
> With the option most user won't get the benefit.
>
> The only reason I can think of for an option would be to disable
> so that old tools can still process.

yes, that was request in the rfc post, we want the new default
perf.data be still readable by older perf tools

jirka

\
 
 \ /
  Last update: 2020-11-12 12:58    [W:0.131 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site