mbox series

[0/4] libtracefs: synthetic event fixes

Message ID 20220131163642.2754485-1-rostedt@goodmis.org (mailing list archive)
Headers show
Series libtracefs: synthetic event fixes | expand

Message

Steven Rostedt Jan. 31, 2022, 4:36 p.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

While working on some utilities to create synthetic events, I was testing on
both older (4.19) and newer kernels and found a few bugs along the way.

This fixes a memory initialization issue, and errors in displaying commands to
create synthetic events that work on both new and older kernels.

Steven Rostedt (Google) (4):
  libtracefs: Initialized func_list in tracefs_filter_functions()
  libtracefs: Fix tracefs_synth_echo_cmd()
  libtracefs: Check README to know if we should do old onmatch format
  libtracefs: Have synthetic events use types pid_t, gfp_t and bool

 src/tracefs-hist.c  | 53 ++++++++++++++++++++++++++++++++++++++++-----
 src/tracefs-tools.c |  2 +-
 2 files changed, 49 insertions(+), 6 deletions(-)