diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-10-29 18:33:47 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-12-15 09:41:09 +0100 |
commit | 364eba4b3a58a3e9af5a1355f4131a58cd1f3b8d (patch) | |
tree | 19a3abf587f94c43a00d0a98ab0a061c48bd91dc /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | a0d2216ec0d04ec6bf2a7282774338d5ffb3ff0b (diff) |
time: Define dummy functions for the generic sched clock
When we try to compile a clocksource driver with the COMPILE_TEST option,
we can't select the GENERIC_SCHED_CLOCK because the sched_clock() symbol
will be duplicated with the one defined for the x86.
In order to fix that, we don't select the GENERIC_SCHED_CLOCK in the
driver Kconfig's file but we define some empty functions for the different
symbols in order to prevent the unresolved ones.
This patch fixes the COMPILE_TEST option for the compile test coverage for
the clocksource drivers. Without this patch, we can't add the COMPILE_TEST
option for the clocksource drivers using the GENERIC_SCHED_CLOCK.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions