[PATCH v4 2/3] Support for perf to probe into SDT markers:
Pekka Enberg
penberg@iki.fi
Fri Oct 25 14:21:00 GMT 2013
> 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.
> Also if a binary exists in a path thats is not covered in the default
> search, an user might believe that his binary may not have markers.
> I know the above reason is more of a user folly than a tooling issue.
Lazy discovery at 'perf record'-time from executable and DSOs should make that transparent to the user, no? I'm pretty sure it will be fast enough with content-adressed cache.
- Pekka
More information about the Systemtap
mailing list