aboutsummaryrefslogtreecommitdiff
path: root/samples/ftrace/sample-trace-array.c
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-12-13 17:54:03 -0500
committerSteven Rostedt (Google) <[email protected]>2023-12-15 08:54:26 -0500
commit712292308af2265cd9b126aedfa987f10f452a33 (patch)
tree55b808e8ff5016410211331a6acf1329198686bd /samples/ftrace/sample-trace-array.c
parent0aa0e5289cfe984a8a9fdd79ccf46ccf080151f7 (diff)
ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI
As the ring buffer recording requires cmpxchg() to work, if the architecture does not support cmpxchg in NMI, then do not do any recording within an NMI. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: Masami Hiramatsu <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'samples/ftrace/sample-trace-array.c')
0 files changed, 0 insertions, 0 deletions