[RFC 6/6] perf probe: Make it possible to add a C++ uprobe

2018-05-13 Thread Holger Freyther
From: Holger Hans Peter Freyther If the linkage name looks like a common C++ ABI name use it instead of the original function name. This makes adding a uprobe for a C++ symbol possible. ./perf probe -x ./cxx-example "std::vector::at" Added new

[RFC 6/6] perf probe: Make it possible to add a C++ uprobe

2018-05-13 Thread Holger Freyther
From: Holger Hans Peter Freyther If the linkage name looks like a common C++ ABI name use it instead of the original function name. This makes adding a uprobe for a C++ symbol possible. ./perf probe -x ./cxx-example "std::vector >::at" Added new event: probe_foo:_ZNSt6vectorIiSaIiEE2atEm (on