This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/14224] only the 1st of multiple identical perf probes get hit


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]