projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf_event: Switch to internal refcount, fix race with close()
[profile/ivi/kernel-adaptation-intel-automotive.git]
/
include
/
linux
/
perf_event.h
diff --git
a/include/linux/perf_event.h
b/include/linux/perf_event.h
index
b1f8912
..
b669be6
100644
(file)
--- a/
include/linux/perf_event.h
+++ b/
include/linux/perf_event.h
@@
-794,7
+794,7
@@
struct perf_event {
struct hw_perf_event hw;
struct perf_event_context *ctx;
-
struct file *filp
;
+
atomic_long_t refcount
;
/*
* These accumulate total time (in nanoseconds) that children