]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
perf: Update shadow timestamp before add event
authorShaohua Li <shli@fb.com>
Thu, 5 Feb 2015 23:55:31 +0000 (15:55 -0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 18 Feb 2015 16:01:44 +0000 (17:01 +0100)
commit72f669c0086fbbbbebc92ce7390125722c4c0ec5
tree358bc05b192b80c896fc603366532cc1cebc0534
parent8e57c586c6a8333c266a6cf76d50e110f2954558
perf: Update shadow timestamp before add event

Update the shadow timestamp before start event, because .add might
use the timestamp.

Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Mackerras <paulus@samba.org>
Link: http://lkml.kernel.org/r/9cd0276d6a047cb7c2885994f25e3a1f7c8c28af.1423180257.git.shli@fb.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c