summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/perf_event.c
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2018-12-17 12:54:23 +0300
committerVineet Gupta <vgupta@synopsys.com>2019-01-17 14:38:00 -0800
commit3affbf0e154ee351add6fcc254c59c3f3947fa8f (patch)
tree106b88f03954da9ecd02dc1e9969b07c3afa2662 /arch/arc/kernel/perf_event.c
parenta3010a0465383300f909f62b8a83f83ffa7b2517 (diff)
downloadtalos-obmc-linux-3affbf0e154ee351add6fcc254c59c3f3947fa8f.tar.gz
talos-obmc-linux-3affbf0e154ee351add6fcc254c59c3f3947fa8f.zip
ARC: perf: map generic branches to correct hardware condition
So far we've mapped branches to "ijmp" which also counts conditional branches NOT taken. This makes us different from other architectures such as ARM which seem to be counting only taken branches. So use "ijmptak" hardware condition which only counts (all jump instructions that are taken) 'ijmptak' event is available on both ARCompact and ARCv2 ISA based cores. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Cc: stable@vger.kernel.org Signed-off-by: Vineet Gupta <vgupta@synopsys.com> [vgupta: reworked changelog]
Diffstat (limited to 'arch/arc/kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud