This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/14224] only the 1st of multiple identical perf probes get hit
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 12 Jun 2012 20:23:57 +0000
- Subject: [Bug runtime/14224] only the 1st of multiple identical perf probes get hit
- Auto-submitted: auto-generated
- References: <bug-14224-6586@http.sourceware.org/bugzilla/>
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.