From: Holger Hans Peter Freyther
perf probe --funcs will demangle C++ symbols by default but these
functions can not be used for listing sourcecode. Modify the scanner
to start searching for a line number only after a single ':'.
./perf probe -x ./cxx-example -L \
From: Holger Hans Peter Freyther
perf probe --funcs will demangle C++ symbols by default but these
functions can not be used for listing sourcecode. Modify the scanner
to start searching for a line number only after a single ':'.
./perf probe -x ./cxx-example -L \
"std::vector >::at:1"
From: Holger Hans Peter Freyther
Using --funcs --no-demangle on a C++ binary does not list any of the C++
functions. Change the default filter to not exclude the Common C++ ABI
symbols.
$ ./perf probe -x ./cxx-example --funcs --no-demangle
...
From: Holger Hans Peter Freyther
Using --funcs --no-demangle on a C++ binary does not list any of the C++
functions. Change the default filter to not exclude the Common C++ ABI
symbols.
$ ./perf probe -x ./cxx-example --funcs --no-demangle
...
_ZN9__gnu_cxx13new_allocatorIiEC1Ev
...
From: Holger Hans Peter Freyther
If die_match_name does not match, attempt to demangle the linkage name.
To use the generic demangling API we require to have a struct dso. Store
it inside the debuginfo and pass it to the relevant callbacks.
./perf probe -x ./foo -L \
From: Holger Hans Peter Freyther
Currently perf probe -x app --funcs will list and demangle C++ functions
but the other probe actions can't work with them. When asking probe to not
demangle it will not list any of the application symbols creating the
impression that
From: Holger Hans Peter Freyther
If die_match_name does not match, attempt to demangle the linkage name.
To use the generic demangling API we require to have a struct dso. Store
it inside the debuginfo and pass it to the relevant callbacks.
./perf probe -x ./foo -L \
"std::vector
From: Holger Hans Peter Freyther
Currently perf probe -x app --funcs will list and demangle C++ functions
but the other probe actions can't work with them. When asking probe to not
demangle it will not list any of the application symbols creating the
impression that there are no symbols at all.
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
From: Holger Hans Peter Freyther
Update call sites with die_match_name to call matches_demangled as well.
This requires to pass the struct debuginfo/struct dso to the callbacks
and modifies the closure/void *data parameter. For most functions this
will change the
From: Holger Hans Peter Freyther
The demangled C++ function name contains spaces and using the generic
argc_split would split the function in the middle. Create a separate
version that counts the number of opening and closing '<', '>' for
templated functions.
$ ./perf
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
From: Holger Hans Peter Freyther
Update call sites with die_match_name to call matches_demangled as well.
This requires to pass the struct debuginfo/struct dso to the callbacks
and modifies the closure/void *data parameter. For most functions this
will change the parameter from struct
From: Holger Hans Peter Freyther
The demangled C++ function name contains spaces and using the generic
argc_split would split the function in the middle. Create a separate
version that counts the number of opening and closing '<', '>' for
templated functions.
$ ./perf probe -x ./foo -V
Sarah Sharp linux.intel.com> writes:
Good Afternoon,
> Also, do you have an HP system, or is this a different vendor?
for what its worth. I do have an Ivybridge laptop and I do see
immediate wake-ups from suspend to ram from time to time. When
this happens I do modprobe -r xhci_hcd and the
Sarah Sharp sarah.a.sharp at linux.intel.com writes:
Good Afternoon,
Also, do you have an HP system, or is this a different vendor?
for what its worth. I do have an Ivybridge laptop and I do see
immediate wake-ups from suspend to ram from time to time. When
this happens I do modprobe -r
16 matches
Mail list logo