Naveen N. Rao
aa171d748a
tracing: Tag trace_percpu_buffer as a percpu pointer
commit f28439db470cca8b6b082239314e9fd10bd39034 upstream.
Tag trace_percpu_buffer as a percpu pointer to resolve warnings
reported by sparse:
/linux/kernel/trace/trace.c:3218:46: warning: incorrect type in initializer (different address spaces)
/linux/kernel/trace/trace.c:3218:46: expected void const [noderef] __percpu *__vpp_verify
/linux/kernel/trace/trace.c:3218:46: got struct trace_buffer_struct *
/linux/kernel/trace/trace.c:3234:9: warning: incorrect type in initializer (different address spaces)
/linux/kernel/trace/trace.c:3234:9: expected void const [noderef] __percpu *__vpp_verify
/linux/kernel/trace/trace.c:3234:9: got int *
Link: https://lkml.kernel.org/r/ebabd3f23101d89cb75671b68b6f819f5edc830b.1640255304.git.naveen.n.rao@linux.vnet.ibm.com
Cc: stable@vger.kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 07d777fe8c ("tracing: Add percpu buffers for trace_printk()")
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
2022-01-11 15:23:31 +01:00 |
| .. |
|
blktrace.c
|
blktrace: Fix uaf in blk_trace access after removing by sysfs
|
2021-09-30 10:09:24 +02:00 |
|
bpf_trace.c
|
tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
|
2021-07-14 16:53:08 +02:00 |
|
fgraph.c
|
fgraph: Initialize tracing_graph_pause at task creation
|
2021-02-10 09:25:29 +01:00 |
|
ftrace.c
|
tracing: Have all levels of checks prevent recursion
|
2021-10-27 09:54:29 +02:00 |
|
ftrace_internal.h
|
|
|
|
Kconfig
|
tracing/kprobes: Do the notrace functions check without kprobes on ftrace
|
2021-01-19 18:26:12 +01:00 |
|
Makefile
|
|
|
|
power-traces.c
|
|
|
|
preemptirq_delay_test.c
|
|
|
|
ring_buffer.c
|
tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
|
2021-07-28 13:31:00 +02:00 |
|
ring_buffer_benchmark.c
|
|
|
|
rpm-traces.c
|
|
|
|
trace.c
|
tracing: Tag trace_percpu_buffer as a percpu pointer
|
2022-01-11 15:23:31 +01:00 |
|
trace.h
|
tracing: Fix pid filtering when triggers are attached
|
2021-12-01 09:23:29 +01:00 |
|
trace_benchmark.c
|
|
|
|
trace_benchmark.h
|
|
|
|
trace_branch.c
|
|
|
|
trace_clock.c
|
tracing: Do no increment trace_clock_global() by one
|
2021-06-23 14:41:28 +02:00 |
|
trace_dynevent.c
|
|
|
|
trace_dynevent.h
|
|
|
|
trace_entries.h
|
tracing: Set kernel_stack's caller size properly
|
2020-10-01 13:17:29 +02:00 |
|
trace_event_perf.c
|
|
|
|
trace_events.c
|
tracing: Check pid filtering when creating events
|
2021-12-01 09:23:34 +01:00 |
|
trace_events_filter.c
|
|
|
|
trace_events_filter_test.h
|
|
|
|
trace_events_hist.c
|
tracing/histogram: Do not copy the fixed-size char array field over the field size
|
2021-11-26 10:47:18 +01:00 |
|
trace_events_trigger.c
|
tracing: Fix event trigger to accept redundant spaces
|
2020-06-30 15:37:10 -04:00 |
|
trace_export.c
|
|
|
|
trace_functions.c
|
tracing: Have all levels of checks prevent recursion
|
2021-10-27 09:54:29 +02:00 |
|
trace_functions_graph.c
|
|
|
|
trace_hwlat.c
|
tracing: Remove WARN_ON in start_thread()
|
2020-12-08 10:40:28 +01:00 |
|
trace_irqsoff.c
|
|
|
|
trace_kdb.c
|
|
|
|
trace_kprobe.c
|
tracing/probes: Reject events which have the same name of existing one
|
2021-09-22 12:26:43 +02:00 |
|
trace_kprobe_selftest.c
|
|
|
|
trace_kprobe_selftest.h
|
|
|
|
trace_mmiotrace.c
|
|
|
|
trace_nop.c
|
|
|
|
trace_output.c
|
tracing: Make the space reserved for the pid wider
|
2020-10-07 08:01:27 +02:00 |
|
trace_output.h
|
|
|
|
trace_preemptirq.c
|
lockdep: fix order in trace_hardirqs_off_caller()
|
2020-10-01 13:18:14 +02:00 |
|
trace_printk.c
|
|
|
|
trace_probe.c
|
tracing/probes: Reject events which have the same name of existing one
|
2021-09-22 12:26:43 +02:00 |
|
trace_probe.h
|
tracing/probes: Reject events which have the same name of existing one
|
2021-09-22 12:26:43 +02:00 |
|
trace_probe_tmpl.h
|
|
|
|
trace_sched_switch.c
|
tracing: Fix sched switch start/stop refcount racy updates
|
2020-02-11 04:35:07 -08:00 |
|
trace_sched_wakeup.c
|
|
|
|
trace_selftest.c
|
ftrace: Handle tracing when switching between context
|
2020-11-10 12:37:28 +01:00 |
|
trace_selftest_dynamic.c
|
|
|
|
trace_seq.c
|
|
|
|
trace_stack.c
|
|
|
|
trace_stat.c
|
tracing: Fix very unlikely race of registering two stat tracers
|
2020-02-24 08:36:30 +01:00 |
|
trace_stat.h
|
|
|
|
trace_syscalls.c
|
|
|
|
trace_uprobe.c
|
tracing/uprobe: Fix uprobe_perf_open probes iteration
|
2021-12-01 09:23:29 +01:00 |
|
tracing_map.c
|
tracing: Fix a kmemleak false positive in tracing_map
|
2021-12-17 10:12:24 +01:00 |
|
tracing_map.h
|
|
|