From: Jiri Olsa Date: Fri, 12 Sep 2014 11:18:27 +0000 (+0200) Subject: perf: Fix child event initial state setup X-Git-Tag: omap-for-v3.19/prcm-cleanup~97^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1929def9e609d1a8cdb1626d85eda3da66921a7d;p=pandora-kernel.git perf: Fix child event initial state setup Currently we initialize the child event based on the original parent state. This is wrong, because the original parent event (and its state) is not related to current fork and also could be already gone. We need to initialize the child state based on the immediate parent event state. Signed-off-by: Jiri Olsa Signed-off-by: Peter Zijlstra (Intel) Cc: Frederic Weisbecker Cc: Stephane Eranian Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1410520708-19275-2-git-send-email-jolsa@kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed