Re: [PATCH v4 2/3] Support for perf to probe into SDT markers:

From: David Ahern
Date: Fri Oct 25 2013 - 11:20:26 EST


On 10/25/13 8:20 AM, Pekka Enberg wrote:
Technically feasible. But then we would have to parse each of the
libraries and executables to list them. Right? I am not sure if such a
delay is acceptable.

You could do it at 'perf list' time or even build time and cache it. And add lazy discovery to 'perf record' and friends.

Instead searching all the known files or building a cache, how about just having an option like: perf list <DSO>. perf-record could still do the probe magic behind the scenes.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/