perf: Call perf_cgroup_event_time() directly
authorNamhyung Kim <namhyung.kim@lge.com>
Fri, 20 Jan 2012 01:12:46 +0000 (10:12 +0900)
committerIngo Molnar <mingo@elte.hu>
Sat, 21 Jan 2012 08:33:42 +0000 (09:33 +0100)
commit46cd6a7f680d14f6f80ede9f04aeb70fa83bd266
tree57d32e7f7399af2c3c869ec685e2050f6cf08d70
parentfd45c15f13e754f3c106427e857310f3e0813951
perf: Call perf_cgroup_event_time() directly

The perf_event_time() will call perf_cgroup_event_time()
if @event is a cgroup event. Just do it directly and avoid
the extra check..

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Link: http://lkml.kernel.org/r/1327021966-27688-2-git-send-email-namhyung.kim@lge.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/events/core.c