diff options
author | 2019-06-03 11:14:02 +0200 | |
---|---|---|
committer | 2019-06-05 13:24:06 +0100 | |
commit | f31e98bfae1c8792701ef03acd47344866cb2e14 (patch) | |
tree | 953a5c0e13ae1aed4a597b7f20c120b1f374ab85 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: smp: Moved cpu_logical_map[] to smp.h (diff) | |
download | wireguard-linux-f31e98bfae1c8792701ef03acd47344866cb2e14.tar.xz wireguard-linux-f31e98bfae1c8792701ef03acd47344866cb2e14.zip |
arm64: arch_timer: mark functions as __always_inline
If CONFIG_FUNCTION_GRAPH_TRACER is enabled function
arch_counter_get_cntvct() is marked as notrace. However, function
__arch_counter_get_cntvct is marked as inline. If
CONFIG_OPTIMIZE_INLINING is set that will make the two functions
tracable which they shouldn't.
Rework so that functions __arch_counter_get_* are marked with
__always_inline so they will be inlined even if CONFIG_OPTIMIZE_INLINING
is turned on.
Fixes: 0ea415390cd3 ("clocksource/arm_arch_timer: Use arch_timer_read_counter to access stable counters")
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions