Re: [PATCH] perf probe: Ignore vmlinux build-id when offline vmlinux and dry-run used

From: Josh Hunt
Date: Wed Jan 25 2017 - 21:46:39 EST


On 01/25/2017 08:37 PM, Masami Hiramatsu wrote:
On Tue, 24 Jan 2017 16:41:28 -0500
Josh Hunt <johunt@xxxxxxxxxx> wrote:

Commit e50243bb ("perf probe: Ignore vmlinux Build-id when offline vmlinux given")
added the ability to ignore vmlinux when an offline vmlinux is passed and no
l, d, or a flag is also passed. This extends that to ignore build-id when
-n/--dry-run is used. This way we can gather probe information for offline kernels
using the method Brendan Gregg mentions in this post:
http://www.brendangregg.com/blog/2014-09-11/perf-kernel-line-tracing.html .

Sorry, NAK.
Could you use -D (--definition) for that usage? It directly gives you
the definition on stdout, and also ignore the buildid.

Ahhh! I guess I totally missed the point of that flag. You're right. It works exactly the way I want :)

Thanks. Please ignore my patch.

Josh