mirror_ubuntu-kernels/tools/lib/traceevent/plugins
Julia Cartwright 5973e6ebc0 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/20171207025649.12160-1-julia@ni.com
Link: http://lore.kernel.org/linux-trace-devel/20200702174950.123454-3-tz.stoyanov@gmail.com

Signed-off-by: Julia Cartwright <julia@ni.com>
[ Ported from trace-cmd.git ]
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: linux-trace-devel@vger.kernel.org
Link: http://lore.kernel.org/lkml/20200702185705.127175788@goodmis.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2020-07-06 09:01:20 -03:00
..
Build tools lib traceevent: Add plugin for decoding syscalls/sys_enter_futex 2020-07-06 09:01:20 -03:00
Makefile tools lib traceevent: Add plugin for decoding syscalls/sys_enter_futex 2020-07-06 09:01:20 -03:00
plugin_cfg80211.c libtraceevent: Move traceevent plugins in its own subdirectory 2019-09-25 09:51:43 -03:00
plugin_function.c tools lib traceevent: Add offset option for function plugin 2020-07-06 09:01:12 -03:00
plugin_futex.c tools lib traceevent: Add plugin for decoding syscalls/sys_enter_futex 2020-07-06 09:01:20 -03:00
plugin_hrtimer.c libtraceevent: Move traceevent plugins in its own subdirectory 2019-09-25 09:51:43 -03:00
plugin_jbd2.c libtraceevent: Move traceevent plugins in its own subdirectory 2019-09-25 09:51:43 -03:00
plugin_kmem.c libtraceevent: Move traceevent plugins in its own subdirectory 2019-09-25 09:51:43 -03:00
plugin_kvm.c tools lib traceevent: Add more SVM exit reasons 2020-07-06 09:00:42 -03:00
plugin_mac80211.c libtraceevent: Move traceevent plugins in its own subdirectory 2019-09-25 09:51:43 -03:00
plugin_sched_switch.c libtraceevent: Move traceevent plugins in its own subdirectory 2019-09-25 09:51:43 -03:00
plugin_scsi.c libtraceevent: Move traceevent plugins in its own subdirectory 2019-09-25 09:51:43 -03:00
plugin_tlb.c tools lib traceevent: Add plugin for tlb_flush 2020-07-06 09:00:35 -03:00
plugin_xen.c libtraceevent: Move traceevent plugins in its own subdirectory 2019-09-25 09:51:43 -03:00