Skip to content

A couple hist trigger patches

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing: Use str_has_prefix() in synth_event_create()kernel/trace/trace_events_hist.c+2 -20 replies
2/2tracing: Use strncpy instead of memcpy for string keys in hist triggerskernel/trace/trace_events_hist.c+3 -26 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] A couple hist trigger patches

From: Tom Zanussi <[email protected]>

Hi,

Here are a couple miscellaneous hist trigger patches which can be applied independently of the onchange/snapshot patches.

The first is just an additional use of str_has_prefix() that was apparently missed in the original str_has_prefix() conversion, with an update suggested by Joe Perches.

The second fixes a bug I noticed when testing the onchange/snapshot fixes.

I pulled these out into this separate patchset because they should be applied regardless of what happens with the onchange/snapshot patchset.

Thanks,

Tom

The following changes since commit 67748dbeaf2b1240c0b87588df4bb0fb9471a751:

sh: ftrace: Fix missing parenthesis in WARN_ON() (2019-01-08 10:19:02 -0600)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/zanussi/linux-trace.git ftrace/hist-fixes-v1

Tom Zanussi (2):
tracing: Use str_has_prefix() in synth_event_create()
tracing: Use strncpy instead of memcpy for string keys in hist
triggers

 kernel/trace/trace_events_hist.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
Signature · 1 line
2.14.1