Changes since v2: The last 8 patches are added to address Namhyung's comments. -- Steve Jan Kiszka (2): tools lib traceevent: Add more SVM exit reasons tools lib traceevent: Fix reporting of unknown SVM exit reasons Julia Cartwright (1): tools lib traceevent: Add plugin for decoding syscalls/sys_enter_futex Steven Rostedt (Red Hat) (2): tools lib traceevent: Add API to read time information from kbuffer tools lib traceevent: Add plugin for tlb_flush Steven Rostedt (VMware) (3): tools lib traceevent: Add offset option for function plugin tools lib traceevent: Add builtin handler for trace_marker_raw tools lib traceevent: Change to SPDX License format Tom Zanussi (1): tools lib traceevent: Add proper KBUFFER_TYPE_TIME_STAMP handling Tzvetomir Stoyanov (VMware) (14): tools lib traceevent: Add tep_load_plugins_hook() API tools lib traceevent: Add interface for options to plugins tools lib traceevent: Introduced new traceevent API, for adding new plugins directories. tools lib traceevent: Add support for more printk format specifiers tools lib traceevent: Optimize pretty_print() function tools lib traceevent: Move kernel_stack event handler to "function" plugin. tools lib traceevent: Document tep_load_plugins_hook() tools lib traceevent: Handle strdup() error in parse_option_name() tools lib traceevent: Fix typo in tep_plugin_add_option() description tools lib traceevent: Improve error handling of tep_plugin_add_option() API tools lib traceevent: Fixed broken indentation in parse_ip4_print_args() tools lib traceevent: Fixed type in PRINT_FMT_STING tools lib traceevent: Fixed description of tep_add_plugin_path() API tools lib traceevent: Handle possible strdup() error in tep_add_plugin_path() API ---- .../Documentation/libtraceevent-plugins.txt | 25 +- tools/lib/traceevent/event-parse-local.h | 22 +- tools/lib/traceevent/event-parse.c | 1004 +++++++++++++++----- tools/lib/traceevent/event-parse.h | 34 +- tools/lib/traceevent/event-plugin.c | 285 +++++- tools/lib/traceevent/kbuffer-parse.c | 43 +- tools/lib/traceevent/kbuffer.h | 19 +- tools/lib/traceevent/plugins/Build | 2 + tools/lib/traceevent/plugins/Makefile | 2 + tools/lib/traceevent/plugins/plugin_function.c | 123 ++- tools/lib/traceevent/plugins/plugin_futex.c | 123 +++ tools/lib/traceevent/plugins/plugin_hrtimer.c | 17 +- tools/lib/traceevent/plugins/plugin_jbd2.c | 17 +- tools/lib/traceevent/plugins/plugin_kmem.c | 17 +- tools/lib/traceevent/plugins/plugin_kvm.c | 42 +- tools/lib/traceevent/plugins/plugin_mac80211.c | 17 +- tools/lib/traceevent/plugins/plugin_sched_switch.c | 17 +- tools/lib/traceevent/plugins/plugin_tlb.c | 66 ++ 18 files changed, 1454 insertions(+), 421 deletions(-) create mode 100644 tools/lib/traceevent/plugins/plugin_futex.c create mode 100644 tools/lib/traceevent/plugins/plugin_tlb.c