aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/traceevent/plugins/plugin_function.c
diff options
context:
space:
mode:
authorJulia Cartwright <[email protected]>2020-07-02 14:53:55 -0400
committerArnaldo Carvalho de Melo <[email protected]>2020-07-06 09:01:20 -0300
commit5973e6ebc0f5a01b34b7da2e4f0f2fef55534ed3 (patch)
tree506789564048161fbfbbee90f98094299d119b0e /tools/lib/traceevent/plugins/plugin_function.c
parent57863623329c5f01abe64f3feaf9bdb26c31ce6a (diff)
tools lib traceevent: Add plugin for decoding syscalls/sys_enter_futex
The futex syscall is a complicated one. It supports thirteen multiplexed operations, each with different semantics and encodings for the syscalls six arguments. Manually decoding these arguments is tedious and error prone. This plugin provides symbolic names for futex operations, futex flags, and tries to be intelligent about the intent of specific arguments (for example, waking operations use 'val' as an integer count, not just an arbitrary value). It doesn't do a full decode of the FUTEX_WAKE_OP's 'val3' argument, however, this is a good starting point. Link: http://lkml.kernel.org/r/[email protected] Link: http://lore.kernel.org/linux-trace-devel/[email protected] Signed-off-by: Julia Cartwright <[email protected]> [ Ported from trace-cmd.git ] Cc: Andrew Morton <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: [email protected] Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Tzvetomir Stoyanov (VMware) <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugins/plugin_function.c')
0 files changed, 0 insertions, 0 deletions