lkml.org 
[lkml]   [2013]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[RFC PATCH 0/2] Perf support to SDT markers
From
Date
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.

---

Hemant Kumar (2):
SDT markers listing by perf
Support to perf to probe on SDT markers


tools/perf/builtin-probe.c | 33 ++++
tools/perf/util/probe-event.c | 17 ++
tools/perf/util/symbol-elf.c | 317 +++++++++++++++++++++++++++++++++++++++++
tools/perf/util/symbol.h | 24 +++
4 files changed, 391 insertions(+)

--



\
 
 \ /
  Last update: 2013-09-03 09:41    [W:0.281 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site