diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-05-25 15:19:35 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-05-25 15:19:35 +0200 |
commit | 49c177461bfbedeccbab22bf3905db2f9da7f1c3 (patch) | |
tree | e58f08de9c82eab2589bfc22ece178af44c3b495 /tools | |
parent | perf, trace: Fix !x86 build bug (diff) | |
download | linux-49c177461bfbedeccbab22bf3905db2f9da7f1c3.tar.xz linux-49c177461bfbedeccbab22bf3905db2f9da7f1c3.zip |
tracing: Add __used annotation to event variable
The TRACE_EVENT() macros automate creation of trace events. To automate
initialization, the set up variables are loaded in a special section
that is read on boot up. GCC is not aware that these static variables
are used and will complain about them if we do not inform GCC that
they are indeed used.
One of the declarations of the event element was missing a __used
annotation. This patch adds it.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions