Ubuntu-focal-kernel/kernel/trace
Steven Rostedt (Google) 8fb72f5fe7 ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI
BugLink: https://bugs.launchpad.net/bugs/2055075

[ Upstream commit 712292308af2265cd9b126aedfa987f10f452a33 ]

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/20231213175403.6fc18540@gandalf.local.home

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2024-02-29 15:23:33 +01:00
..
Kconfig
Makefile
blktrace.c blktrace: Fix output non-blktrace event when blk_classic option enabled 2023-02-01 15:22:40 +01:00
bpf_trace.c bpf: Clear the probe_addr for uprobe 2023-10-30 11:42:07 +01:00
fgraph.c
ftrace.c ftrace: Fix possible warning on checking all pages used in ftrace_process_locs() 2023-10-30 11:41:45 +01:00
ftrace_internal.h
power-traces.c
preemptirq_delay_test.c
ring_buffer.c ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI 2024-02-29 15:23:33 +01:00
ring_buffer_benchmark.c
rpm-traces.c
trace.c tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing 2024-02-29 15:23:32 +01:00
trace.h tracing: Have trace_event_file have ref counters 2024-02-02 14:13:12 +01:00
trace_benchmark.c
trace_benchmark.h
trace_branch.c
trace_clock.c tracing: Do no increment trace_clock_global() by one 2021-07-15 19:27:43 +02:00
trace_dynevent.c tracing: Free buffers when a used dynamic event is removed 2023-02-01 15:21:45 +01:00
trace_dynevent.h
trace_entries.h
trace_event_perf.c
trace_events.c tracing: Have trace_event_file have ref counters 2024-02-02 14:13:12 +01:00
trace_events_filter.c tracing: Have trace_event_file have ref counters 2024-02-02 14:13:12 +01:00
trace_events_filter_test.h
trace_events_hist.c tracing/histograms: Return an error if we fail to add histogram to hist_vars list 2023-10-02 12:12:16 +02:00
trace_events_trigger.c tracing: Dump stacktrace trigger to the corresponding instance 2022-06-22 14:50:44 +02:00
trace_export.c
trace_functions.c tracing: Have all levels of checks prevent recursion 2021-11-22 17:31:04 +01:00
trace_functions_graph.c
trace_hwlat.c
trace_irqsoff.c tracing: Fix memleak due to race between current_tracer and trace 2023-10-30 11:42:01 +01:00
trace_kdb.c
trace_kprobe.c tracing/probes: Have process_fetch_insn() take a void * instead of pt_regs 2023-10-30 11:41:57 +01:00
trace_kprobe_selftest.c
trace_kprobe_selftest.h
trace_mmiotrace.c
trace_nop.c
trace_output.c tracing: Add size check when printing trace_marker output 2024-02-29 15:23:33 +01:00
trace_output.h
trace_preemptirq.c tracing: hold caller_addr to hardirq_{enable,disable}_ip 2022-11-24 10:28:25 +01:00
trace_printk.c
trace_probe.c tracing/probes: Have kprobes and uprobes use $COMM too 2022-10-17 15:02:04 +02:00
trace_probe.h tracing/probe: trace_probe_primary_from_call(): checked list_first_entry 2023-08-09 12:25:41 +02:00
trace_probe_tmpl.h tracing/probes: Fix to update dynamic data counter if fetcharg uses it 2023-10-30 11:41:57 +01:00
trace_sched_switch.c
trace_sched_wakeup.c tracing: Fix memleak due to race between current_tracer and trace 2023-10-30 11:42:01 +01:00
trace_selftest.c
trace_selftest_dynamic.c
trace_seq.c
trace_stack.c
trace_stat.c
trace_stat.h
trace_syscalls.c
trace_uprobe.c bpf: Clear the probe_addr for uprobe 2023-10-30 11:42:07 +01:00
tracing_map.c tracing: Fix a kmemleak false positive in tracing_map 2022-03-07 16:33:53 +01:00
tracing_map.h