]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/trace/events/rcu.h
rcutorture: Place event-traced strings into trace buffer
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Jun 2017 23:39:00 +0000 (16:39 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 24 Jul 2017 23:04:12 +0000 (16:04 -0700)
commitb3c983142d4584c9d506b1ed31b65f4292b4aea8
tree55b6642d8844a87d245034ed219f44c17b69ea0a
parent5e741fa9e9698f4010bb85eff252186f7a4071f4
rcutorture: Place event-traced strings into trace buffer

Strings used in event tracing need to be specially handled, for example,
being copied to the trace buffer instead of being pointed to by the trace
buffer.  Although the TPS() macro can be used to "launder" pointed-to
strings, this might not be all that effective within a loadable module.
This commit therefore copies rcutorture's strings to the trace buffer.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
include/trace/events/rcu.h
kernel/rcu/rcutorture.c
tools/testing/selftests/rcutorture/configs/rcu/BUSTED.boot