From: Namhyung Kim Date: Mon, 21 May 2012 01:42:07 +0000 (+0900) Subject: perf target: Add cpu flag to sample_type if target has cpu X-Git-Tag: v3.5-rc1~120^3~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e40ee742d4542b4c046ac5426654b1494d87ad73;p=pandora-kernel.git perf target: Add cpu flag to sample_type if target has cpu Add PERF_SAMPLE_CPU flag into attr->sample_type if an user specified any of cpu target (either system-wide or cpu list). It will show correct values when cpu sort key is given for perf top and perf report. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1337564527-9367-1-git-send-email-namhyung.kim@lge.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed