summaryrefslogtreecommitdiff
path: root/sound/ac97
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2018-04-24 21:20:11 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-04-24 22:11:59 +0300
commit30060eaed769039c6e523b9d159f2b2858fa8907 (patch)
tree64780c69fc67ee2e7f147b3e07063e49a6522744 /sound/ac97
parent292c34c10249c64a70def442f0d977bf9d466ed7 (diff)
downloadlinux-30060eaed769039c6e523b9d159f2b2858fa8907.tar.xz
perf stat: Print out hint for mixed PMU group error
Perf doesn't support mixed events from different PMUs (except software event) in a group. For this case, only "<not counted>" or "<not supported>" are printed out. There is no hint which guides users to fix the issue. Checking the PMU type of events to determine if they are from the same PMU. There may be false alarm for the checking. E.g. the core PMU has different PMU type. But it should not happen often. The false alarm can also be tolerated, because: - It only happens on error path. - It just provides a possible solution for the issue. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Cc: Agustin Vega-Frias <agustinv@codeaurora.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com> Cc: Jin Yao <yao.jin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Shaokun Zhang <zhangshaokun@hisilicon.com> Cc: Will Deacon <will.deacon@arm.com> Link: http://lkml.kernel.org/r/1524594014-79243-2-git-send-email-kan.liang@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'sound/ac97')
0 files changed, 0 insertions, 0 deletions