Skip to content

RFC libtraceevent/perf: Add support for trace-cmd plugins

David Ahern lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libtraceevent: Add support for tracecmd pluginstools/lib/traceevent/Makefile tools/lib/traceevent/tracecmd-plugins.c tools/lib/traceevent/tracecmd-plugins.h+315 -10 replies
2/2perf: add support for trace-cmd pluginstools/perf/util/trace-event-parse.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] libtraceevent/perf: Add support for trace-cmd plugins

Now that perf is using libtraceevent and libtraceevent is based on trace-cmd both can be extended to leverage the plugins written for trace-cmd to improve pretty printing of the events.

Given that it is based on code from trace-cmd I am not sure what the right approach is, so wanted to throw this out for comments/suggestions.

David Ahern (2):
libtraceevent: Add support for tracecmd plugins
perf: add support for trace-cmd plugins

 tools/lib/traceevent/Makefile           |    2 +-
 tools/lib/traceevent/tracecmd-plugins.c |  280 +++++++++++++++++++++++++++++++
 tools/lib/traceevent/tracecmd-plugins.h |   34 ++++
 tools/perf/util/trace-event-parse.c     |    4 +
 4 files changed, 319 insertions(+), 1 deletion(-)
 create mode 100644 tools/lib/traceevent/tracecmd-plugins.c
 create mode 100644 tools/lib/traceevent/tracecmd-plugins.h
Signature · 1 line
1.7.10.1