stap can already somewhat support C++, just because of the similarity to C. To have better support we need: - proper handling of C++-name mangling when specifying the function to probe. - support for C++-specific types -- classes, references, etc. (bonus) - library functions to simplify accessing the contents of some common STL types, like string and vector. - tapsets for throwing & catching exceptions. Anything else?
(In reply to comment #0) > - support for C++-specific types -- classes, references, etc. This piece is done in commit 9c11995. For other features, I'm filing separate bugs and marking the dependency back to this one.
(In reply to comment #0) > - proper handling of C++-name mangling when specifying the function to probe. I found out that debuginfo names aren't actually mangled, but commit 7d6d0afc adds support for matching the namespace/class scope of the function. With that, I think our C++ support is pretty solid. I just need to write some testcases now to ensure that it continues to work.
effectively completed