aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <[email protected]>2013-03-02 16:49:10 -0500
committerSteven Rostedt <[email protected]>2013-03-15 00:34:52 -0400
commit34ef61b1fa6172e994e441f1f0241dc53a75bd5f (patch)
tree8ee4438105a588068f7fb61a72247f19e4eee83f /tools/perf/util/trace-event-scripting.c
parentb8aae39fc54a2e297698288ac48237cc4c6f83bb (diff)
tracing: Add __per_cpu annotation to trace array percpu data pointer
With the conversion of the data array to per cpu, sparse now complains about the use of per_cpu_ptr() on the variable. But The variable is allocated with alloc_percpu() and is fine to use. But since the structure that contains the data variable does not annotate it as such, sparse gives out a lot of false warnings. Reported-by: Fengguang Wu <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions