[Bug libstdc++/77866] New: Add SystemTap probe points to libstdc++

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 5 15:17:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77866

            Bug ID: 77866
           Summary: Add SystemTap probe points to libstdc++
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

This will allow users to collect statistics from their code using the std::lib
(and will allow us to remove the Profile Mode, yay!)

Probes to consider:

Reallocation triggered by string, vector and deque insertions.
Unordered container rehashes.
Locking a mutex.
Failing to try-lock a mutex.
Notifying a condition variable.
Launching a new thread.
Throwing an exception.
Catching an exception.
Reference count updates in shared_ptr and weak_ptr.
Replacing facets in a locale object.
Stream buffer overflow/underflow.

Please add other ideas here.


More information about the Gcc-bugs mailing list