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
Instead of plotting latency of a function, plot the distribution of an
argument. Additionally it would be nice to plot a value derived from one or more
arguments. Deriving can happen in the match-spec (limited) or after passing all
the necessary arguments to an arbitrary "derive" fun which could be executed in
the trace handler.
The value
int: in the simplest case must be an integer (with a lower and upper bound; default range can be 0..max_duration)
enum: or any term with max number of combinations/buckets
Options:
aggregation method: histogram (only integer; int) or frequency count (any term, enum)
interval: how often to take a snapshot of the collected data (this is hard-coded currently for function latency to 1 second, but could make sense to set larger intervals in this case) (maybe does not need to be implemented)
Instead of plotting latency of a function, plot the distribution of an
argument. Additionally it would be nice to plot a value derived from one or more
arguments. Deriving can happen in the match-spec (limited) or after passing all
the necessary arguments to an arbitrary "derive" fun which could be executed in
the trace handler.
The value
int
: in the simplest case must be an integer (with a lower and upper bound; default range can be 0..max_duration
)enum
: or any term with max number of combinations/bucketsOptions:
int
) or frequency count (any term,enum
)http://manpages.ubuntu.com/manpages/zesty/man8/argdist-bpfcc.8.html
Query syntax
With the current syntax it would be possible to add extra action function:
Extended syntax:
(multiple lines for readability)
Prerequisits:
The text was updated successfully, but these errors were encountered: