kernel function probe overhead
Josh Stone
jistone@redhat.com
Tue Nov 29 19:21:00 GMT 2016
On 11/28/2016 07:30 PM, Aubrey Li wrote:
>> Another solution would be to have per-thread global variables. Since
>> > the kernel doesn't help us out with this, we'd have to emulate it
>> > somehow, and for this to be wortwhile, it'd have to work faster than
>> > ordinary locked/shared array[tid()] accesses.
>> >
> Is this a suggestion for me? How to do this?
There are relevant RFEs for stap already:
per-cpu: https://sourceware.org/bugzilla/show_bug.cgi?id=10795
per-thread: https://sourceware.org/bugzilla/show_bug.cgi?id=10796
The latter was closed on the hunch that it wouldn't help much, but that
could still be explored if someone is interested.
More information about the Systemtap
mailing list