diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2018-04-24 11:20:11 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-04-24 16:11:59 -0300 |
commit | 30060eaed769039c6e523b9d159f2b2858fa8907 (patch) | |
tree | 64780c69fc67ee2e7f147b3e07063e49a6522744 /tools/thermal/tmon | |
parent | 292c34c10249c64a70def442f0d977bf9d466ed7 (diff) | |
download | blackbird-obmc-linux-30060eaed769039c6e523b9d159f2b2858fa8907.tar.gz blackbird-obmc-linux-30060eaed769039c6e523b9d159f2b2858fa8907.zip |
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 'tools/thermal/tmon')
0 files changed, 0 insertions, 0 deletions