]> git.baikalelectronics.ru Git - kernel.git/commit
perf_event: Fix compile error
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Wed, 2 Dec 2009 08:08:41 +0000 (16:08 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 2 Dec 2009 08:27:01 +0000 (09:27 +0100)
commitbdad0db7dbdb37d0bb3c7d0f65cd3ff599ea6ecb
treea87d06eb673369d0f2cdbb20fb541b312b6d2bd5
parentc19e33aa840e9202ef8d4c93056b59f3edc2208d
perf_event: Fix compile error

Fix:

 cc1: warnings being treated as errors
 builtin-probe.c: In function 'cmd_probe':
 builtin-probe.c:163: error: unused variable 'fd'

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <4B162089.8000907@cn.fujitsu.com>
[ v2: use NO_LIBDWARF instead of __used ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-probe.c