From: Frederic Weisbecker Date: Tue, 23 Jul 2013 00:31:01 +0000 (+0200) Subject: perf: Factor out event accounting code to account_event()/__free_event() X-Git-Tag: v3.12-rc1~168^3~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=766d6c076928191d75ad5b0d0f58f52b1e7682d8;p=pandora-kernel.git perf: Factor out event accounting code to account_event()/__free_event() Gather all the event accounting code to a single place, once all the prerequisites are completed. This simplifies the refcounting. Original-patch-by: Peter Zijlstra Signed-off-by: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Arnaldo Carvalho de Melo Cc: Stephane Eranian Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1374539466-4799-4-git-send-email-fweisbec@gmail.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed