commit | a9cd8194e1e6bd09619954721dfaf0f94fe2003e | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Tue Sep 05 13:38:24 2017 +0200 |
committer | Ingo Molnar <mingo@kernel.org> | Fri Oct 27 10:31:57 2017 +0200 |
tree | 960eefc8af70349f91914c2b4410cf2e8b8e96ff | |
parent | 0ee098c97a6ebe163180e74b740c0a37bcdaa173 [diff] |
perf/core: Fix __perf_read_group_add() locking Event timestamps are serialized using ctx->lock, make sure to hold it over reading all values. 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> Signed-off-by: Ingo Molnar <mingo@kernel.org>