perf/core: Fix cgroup time when scheduling descendants
authorleilei.lin <leilei.lin@alibaba-inc.com>
Fri, 29 Sep 2017 05:54:44 +0000 (13:54 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Oct 2017 08:06:55 +0000 (10:06 +0200)
commite6a5203399d19871021c1fa0eb2a08fc63b67e91
treedc4b75868d25650e6ca608107f5c1f3cc150a90a
parentdf0062b27ebf473b372914a3e3574d93790e2b72
perf/core: Fix cgroup time when scheduling descendants

Update cgroup time when an event is scheduled in by descendants.

Reviewed-and-tested-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: leilei.lin <leilei.lin@alibaba-inc.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: acme@kernel.org
Cc: alexander.shishkin@linux.intel.com
Cc: brendan.d.gregg@gmail.com
Cc: yang_oliver@hotmail.com
Link: http://lkml.kernel.org/r/CALPjY3mkHiekRkRECzMi9G-bjUQOvOjVBAqxmWkTzc-g+0LwMg@mail.gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c