[Bug runtime/14224] only the 1st of multiple identical perf probes get hit
dsmith at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Jun 12 20:24:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14224
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from David Smith <dsmith at redhat dot com> 2012-06-12 20:23:57 UTC ---
Fixed in commit 369bc6e.
The original generated code always did a 'break' after registering the first
perf probe, so following ones never got registered.
====
for (i=0; i<2; i++) {
struct stap_perf_probe* stp = & stap_perf_probes [i];
rc = _stp_perf_init(stp);
if (rc) {
probe_point = stp->probe->pp;
for (j=0; j<i; j++) {
_stp_perf_del(& stap_perf_probes [j]);
}
}
break;
}
====
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list