[RFC 4/6] perf probe: Show variables for C++ functions

2018-05-13 Thread Holger Freyther
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

[RFC 4/6] perf probe: Show variables for C++ functions

2018-05-13 Thread Holger Freyther
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