Messages in this thread | | | From | Pekka Enberg <> | Subject | Re: [PATCH v4 2/3] Support for perf to probe into SDT markers: | Date | Fri, 25 Oct 2013 16:20:54 +0200 |
| |
> 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
| |