This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6892] New: user-probe wildcard yields too many probes
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 16 Sep 2008 00:04:06 -0000
- Subject: [Bug translator/6892] New: user-probe wildcard yields too many probes
- Reply-to: sourceware-bugzilla at sourceware dot org
Given this script
----- tapsets.stp -----
global count
probe process("stap").function("*@tapsets.cxx") {
count <<< 1
}
probe timer.sec(1) {
printf("%d\n", @sum(count))
delete count
count <<< 0
}
-----
$ stap -v tapsets.stp
reports 5925 probes:
Pass 1: parsed user script and 46 library script(s) in 460usr/20sys/2615real ms.
Pass 2: analyzed script: 5925 probe(s), 0 function(s), 0 embed(s), 1 global(s)
in 44350usr/110sys/60245real ms.
...
but
$ stap -l 'process("stap").function("*@tapsets.cxx")'
reports 771 probes
I think 771 must be more accurate. There are only 9317 lines in tapsets.cxx.
--
Summary: user-probe wildcard yields too many probes
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jkenisto at us dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6892
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.