summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorSheetal Sahasrabudhe <sheetals@codeaurora.org>2014-08-01 16:24:03 -0400
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:48:16 -0700
commit2c167c7786cae6e53af720b81bd6ccdf195a75ab (patch)
tree92c414afadeff8a01337d4a0385b674a76bcac63 /arch/arm64/kernel
parentb70837c8b27f553abe1722e2f52f8adad4cb012f (diff)
Perf: arm64: Add debugfs node to clear PMU
Create debugfs node to clear PMU and some internal variables used by Perf code. This provides the user with a recovery path in case of PMU related unexpected error scenarios. Change-Id: I4e62a51043d7dcaa21b551ce6a6715486ef46cca Signed-off-by: Sheetal Sahasrabudhe <sheetals@codeaurora.org> [satyap: trivial merge conflict resolution and move changes in arch/arm64/kernel/perf_event.c to drivers/perf/arm_pmu.c to align with kernel 4.4] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r--arch/arm64/kernel/perf_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/perf_debug.c b/arch/arm64/kernel/perf_debug.c
index 4ae6c598e9d5..4cda01393f39 100644
--- a/arch/arm64/kernel/perf_debug.c
+++ b/arch/arm64/kernel/perf_debug.c
@@ -25,6 +25,7 @@ static char *descriptions =
" 0 arm64: perf: add debug patch logging framework\n"
" 1 Perf: arm64: Add L1 counters to tracepoints\n"
" 5 Perf: arm64: add perf user-mode permissions\n"
+ " 6 Perf: arm64: Add debugfs node to clear PMU\n"
;
static ssize_t desc_read(struct file *fp, char __user *buf,