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: [RFC PATCH 0/2] Perf support to SDT markers


On 09/04/2013 11:38 AM, Namhyung Kim wrote:
Hi Hemant,

On Tue, 03 Sep 2013 13:06:40 +0530, Hemant Kumar Shaw wrote:
This series adds support to perf to list and probe into the SDT markers.
The first patch implements listing of all the SDT markers present in
the ELFs (executables or libraries). The SDT markers are present in the
.note.stapsdt section of the elf. That section can be traversed to list
all the markers. Recognition of markers follows the SystemTap approach.

The second patch will allow perf to probe into these markers. This is
done by writing the marker name and its offset into the
uprobe_events file in the tracing directory.
Then, perf tools can be used to analyze perf.data file.
First, thanks for your work!

In fact, I was working on the same topic of support SDT markers.  But I
started it by adding support for accessing arguments in uprobes [1].

I was thinking of adding support to SDT markers' arguments too!! I already have your patches and did some basic testing. I will add support to arguments in the next iteration of my patches.

The patchset is floating around the list for now but I hope it'll get
merged soon.  I guess you want to have it too :).

Of course, that would be great!


Anyway, it'd great if you add me to CC next time.

Sure, will do that.

Thanks
Hemant

Thanks,
Namhyung


[1] http://thread.gmane.org/gmane.linux.kernel/1555044



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