This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PThread profiling


Daniel Tralamazza wrote:
I even did a tapset for most pthread functions inside NPTL
('probe pthread.create').

I think such a tapset would have general interest, even with the slower uprobe version. You could define the tapset to work with both the base glibc and your patched version:


probe pthread.create = process(...).mark(...)!,
                       process(...).function(...)
{ ... }

It worked fine, but the overhead was causing measurements errors
(too slow == higher contention probability). It was clear that I
had to use static markers, all I had to do was patch glibc/nptl
and voila.

Can you share performance numbers on this? I'd like to see the comparison of unprobed, function uprobes, and static markers...


Josh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]