]> git.baikalelectronics.ru Git - kernel.git/commit
perf build: Fix libbabeltrace detection
authorJiri Olsa <jolsa@redhat.com>
Tue, 10 Mar 2015 12:00:35 +0000 (13:00 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 12 Mar 2015 15:39:56 +0000 (12:39 -0300)
commit9a58bde22683a281cf1c8b7f474c320129aa6fd8
tree8468658169b6d19455e6ce0c9225f1d8e850c9a4
parent4872b1bba6456f08e1ef6082e87f83bd0c42e467
perf build: Fix libbabeltrace detection

Following patch added -Werror for feature builds:

  86c5a2a62497 perf tools: Improve feature test debuggability

and exposed a problem in the libbabeltrace feature build, because it was
including wrong header and gcc couldn't find the used symbol definition.

Adding proper header and keeping the old one as it is needed also
(libbabeltrace quirk).

Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jeremie Galarneau <jgalar@efficios.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/20150310120035.GA4333@krava.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/config/feature-checks/test-libbabeltrace.c