diff options
author | 2020-09-04 17:57:38 +0800 | |
---|---|---|
committer | 2020-09-07 18:35:39 +0100 | |
commit | 44fdf4ed2693eb05dbfa83beaa6fe5fbd0c2f6d0 (patch) | |
tree | 434e756cb756d30039818ba3c09bf8614b34e627 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers/perf: hisi: Add missing include of linux/module.h (diff) | |
download | linux-dev-44fdf4ed2693eb05dbfa83beaa6fe5fbd0c2f6d0.tar.xz linux-dev-44fdf4ed2693eb05dbfa83beaa6fe5fbd0c2f6d0.zip |
arm64: perf: Remove unnecessary event_idx check
event_idx is obtained from armv8pmu_get_event_idx(), and this idx must be
between ARMV8_IDX_CYCLE_COUNTER and cpu_pmu->num_events. So it's unnecessary
to do this check. Let's remove it.
Signed-off-by: Qi Liu <liuqi115@huawei.com>
Link: https://lore.kernel.org/r/1599213458-28394-1-git-send-email-liuqi115@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions