commit | ca0dd44cf37bfe316751e1701439c3ff44beb05c | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Tue Sep 05 13:23:44 2017 +0200 |
committer | Ingo Molnar <mingo@kernel.org> | Fri Oct 27 10:31:57 2017 +0200 |
tree | 2c8b7b0d6fb8fb31ae29d00ab2cb25523b9bf9c5 | |
parent | 7d9285e82db5defca4d9674ba089429eeca0c697 [diff] |
perf/core: Fix perf_event_read_value() locking perf_event_read_value() is an external accessor, just like perf_event_{en,dis}able() and should thus use perf_event_ctx_lock(). Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Fixes: f63a8daa5812 ("perf: Fix event->ctx locking") Signed-off-by: Ingo Molnar <mingo@kernel.org>