summaryrefslogtreecommitdiffstats
path: root/include/trace/trace_events.h
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@fb.com>2016-04-07 03:43:23 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-08 03:04:26 +0200
commite93735be6a1898dd9f8de8f55254cc76309777ce (patch)
tree71b654b9bfcecadcadd4e04f51374b1c5bc4871e /include/trace/trace_events.h
parentperf: optimize perf_fetch_caller_regs (diff)
downloadlinux-e93735be6a1898dd9f8de8f55254cc76309777ce.tar.xz
linux-e93735be6a1898dd9f8de8f55254cc76309777ce.zip
perf: remove unused __addr variable
now all calls to perf_trace_buf_submit() pass 0 as 4th argument which will be repurposed in the next patch which will change the meaning of 1st arg of perf_tp_event() to event_type Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace/trace_events.h')
-rw-r--r--include/trace/trace_events.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/trace/trace_events.h b/include/trace/trace_events.h
index 170c93bbdbb7..80679a9fae65 100644
--- a/include/trace/trace_events.h
+++ b/include/trace/trace_events.h
@@ -652,9 +652,6 @@ static inline notrace int trace_event_get_offsets_##call( \
#undef TP_fast_assign
#define TP_fast_assign(args...) args
-#undef __perf_addr
-#define __perf_addr(a) (a)
-
#undef __perf_count
#define __perf_count(c) (c)