Skip to content

tracing: Synthetic event fixes and updates

Tom Zanussi linux-rt-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tracing: Add missing nest end to synth_event_trace_start() error casekernel/trace/trace_events_hist.c+1 -01 reply
2/3tracing: Don't return -EINVAL when tracing soft disabled synth eventskernel/trace/trace_events_hist.c+6 -143 replies
3/3tracing: Consolidate trace() functionsinclude/linux/trace_events.h kernel/trace/trace_events_hist.c+87 -1351 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMasami Hiramatsu
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] tracing: Synthetic event fixes and updates

Hi Steve,

I noticed a couple bugs while creating a patch consolidating the synthetic event trace() functions. Here are the two bugfixes along with the consolidated trace patch.

The first patch adds a missing ring_buffer_nest_end() in an error case, and the second removes unnecessary error returns when an event is soft disabled.

The third patch consolidates the common code in synth_event_trace_array(), synth_event_trace() and synth_event_trace_start().

Thanks,

Tom

The following changes since commit 7a1f8097178832627261a16e32973b12a0355dad:

bootconfig: Use parse_args() to find bootconfig and '--' (2020-02-07 20:51:08 -0500)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/zanussi/linux-trace.git ftrace/synth-event-gen-fixes-v1

Tom Zanussi (3):
tracing: Add missing nest end to synth_event_trace_start() error case
tracing: Don't return -EINVAL when tracing soft disabled synth events
tracing: Consolidate trace() functions

 include/linux/trace_events.h     |   2 +-
 kernel/trace/trace_events_hist.c | 227 +++++++++++++++------------------------
 2 files changed, 87 insertions(+), 142 deletions(-)
Signature · 1 line
2.14.1