kernel_optimize_test/tools/perf/arch
Leo Yan 4979e86141 perf tsc: Add rdtsc() for Arm64
The system register CNTVCT_EL0 can be used to retrieve the counter from
user space.  Add rdtsc() for Arm64.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: John Garry <john.garry@huawei.com>
Cc: Kemeng Shi <shikemeng@huawei.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Nick Gasson <nick.gasson@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Remi Bernon <rbernon@codeweavers.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Steve Maclean <steve.maclean@microsoft.com>
Cc: Will Deacon <will@kernel.org>
Cc: Zou Wei <zou_wei@huawei.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lore.kernel.org/lkml/20200914115311.2201-3-leo.yan@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2020-09-22 13:44:16 -03:00
..
alpha
arc/annotate
arm perf tools: Fix record failure when mixed with ARM SPE event 2020-07-31 09:29:01 -03:00
arm64 perf tsc: Add rdtsc() for Arm64 2020-09-22 13:44:16 -03:00
csky perf tools: Avoid 'sample_reg_masks' being const + weak 2019-10-10 09:29:33 -03:00
mips
nds32
parisc
powerpc perf metricgroup: Pass pmu_event structure as a parameter for arch_get_runtimeparam() 2020-09-10 09:18:59 -03:00
riscv perf tools: Avoid 'sample_reg_masks' being const + weak 2019-10-10 09:29:33 -03:00
s390 all arch: remove system call sys_sysctl 2020-08-14 19:56:56 -07:00
sh
sparc
x86 perf tsc: Move out common functions from x86 2020-09-22 13:38:33 -03:00
xtensa
Build
common.c perf debug: Remove needless include directives from debug.h 2019-08-31 19:10:19 -03:00
common.h perf env: Remove env.h from other headers where just a fwd decl is needed 2019-08-31 19:10:40 -03:00