projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf: Provide a separate task context for swevents
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
hw_breakpoint.c
diff --git
a/kernel/hw_breakpoint.c
b/kernel/hw_breakpoint.c
index 6f150095cafe14e247c27eee6ba4f1461c195b18..3b2aaffb65f019505f5265a7b9f5c5165e6dad5a 100644
(file)
--- a/
kernel/hw_breakpoint.c
+++ b/
kernel/hw_breakpoint.c
@@
-610,6
+610,8
@@
static void hw_breakpoint_stop(struct perf_event *bp, int flags)
}
static struct pmu perf_breakpoint = {
+ .task_ctx_nr = perf_sw_context, /* could eventually get its own */
+
.event_init = hw_breakpoint_event_init,
.add = hw_breakpoint_add,
.del = hw_breakpoint_del,