You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a way to access component parts of a probe's definition. probe will still return the full probe name, but individual pieces could be accessed as if it was an array:
Describe alternative solutions or features you've considered
func is an alternative for some use-cases (e.g. kprobes), but it doesn't work for all probe types (e.g. tracepoints) and its semantics are still not fully defined when tracing inlined functions.
Problems
I suppose this could only work if all attachment points of a probe were of the same type, i.e. all tracepoints or all USDTs. A mixture would lead to strange behaviour.
What do we do about probes types which take a variable number of parameters? e.g. kfunc:foo vs kfunc:module:foo
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
When aggregating data from tracepoint probes, it is only currently possible to distinguish the data from each tracepoint by using the
probe
builtin:It would be nice to have a way to access only part of the attach point's definition, so that we could generate output like this:
Describe the solution you'd like
Provide a way to access component parts of a probe's definition.
probe
will still return the full probe name, but individual pieces could be accessed as if it was an array:Or tuple style:
Describe alternative solutions or features you've considered
func
is an alternative for some use-cases (e.g. kprobes), but it doesn't work for all probe types (e.g. tracepoints) and its semantics are still not fully defined when tracing inlined functions.Problems
kfunc:foo
vskfunc:module:foo
The text was updated successfully, but these errors were encountered: