I have a question about bpftrace
syntax and hoping that someone might have seen this before.
In looking at the bpftrace reference document, I've been able to trace a user-app function successfully. No problems there. What I can't figure out is how to attach a probe to a C++ method.
For example, here is the syntax that I'm using and the error:
$ bpftrace -e 'uretprobe:/usr/share/BigApp:BigApp::MethodName { printf("method return\n"); }'
1.34-35: syntax error, unexpected path, expecting {
What would be the proper syntax for attaching a bpftrace probe to a C++ user-app?