19
I Use This!
Moderate Activity

News

Analyzed 1 day ago. based on code collected 2 days ago.
Posted over 2 years ago
add release 4.6
Posted over 2 years ago
Add entries for a few more entries that have user-space markers (.NET, libcouchbase, libmemcached, and netatalk)
Posted almost 3 years ago
release 4.5
Posted over 3 years ago
New page:
Posted over 3 years ago
Remove stray '!' from heading.
Posted over 3 years ago
Add entry for PCP
Posted over 3 years ago
Alphabetize the list of apps with user-space markers to make it easier to find things on the list
Posted over 3 years ago
Update srpm to work with work on Fedora Project koji build system.
Posted over 7 years ago by jistone at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20410 Bug ID: 20410 Summary: Support perf probes limited to user mode Product: systemtap Version: unspecified Status: NEW Severity: ... [More] enhancement Priority: P2 Component: translator Assignee: systemtap at sourceware dot org Reporter: jistone at redhat dot com Target Milestone: --- It would be nice to support a way to limit perf counters to just user mode. The kernel API exists -- we just need to set exclude_kernel=1 and exclude_hv=1 in the perf_event_attr. See this thread: https://sourceware.org/ml/systemtap/2016-q3/msg00090.html [Less]
Posted over 7 years ago by riya khanna
Hi, I'm trying to collect perf counters using systemtap. I followed systemtap/EXAMPLES/profiling/perf.stp to create a script to monitor a user process, enable counters on function entry, and spew out counters on function return. Please find the ... [More] script (perf.stp) attached. I use the stap script described above to monitor function func()'s entry and exit. void func(void) { printf("Measuring instruction count for this printf\n"); } Just to verify systemtap reported counters, I created a program (test.c) that uses perf_event_open() syscall to monitor func()'s entry/exit and spew out counters. Please find it attached as well. However, the counters reported by perf.stp are very different from what is reported by test.c. For example, instruction count reported by test.c and perf.stp are 593 and 10610-10690. This is how I launch perf.stp to monitor func() in test.c: sudo /usr/local/bin/stap -s1 perf.stp test func Why such a difference? Am I missing something? Thanks, Riya [Less]