Messages in this thread | | | Date | Thu, 4 Sep 2014 22:13:11 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH] perf tools: Fix build-id matching on vmlinux |
| |
Em Fri, Sep 05, 2014 at 09:23:56AM +0900, Namhyung Kim escreveu: > Hmm.. now I'm curious that why the -H option is needed at all.. the perf > record already wrote build-ids that are actually hits..
Probably because when 'perf buildid-list' was introduced 'perf record' was inserting all the PERF_RECORD_MMAP dsos into the buildid-list, not just the ones with hits.
Then, later on, 'perf record' probably moved to register just the ones with hits.
This way -H ends up being a nop, i.e. should produce the same result as 'perf buildid-list' with no options.
If it doesn't, then it is a bug.
- Arnaldo
| |