mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-19 20:12:32 +00:00
perf cs-etm: Reduce verbosity of ts_source warning
This is printed as a warning but it is normal behavior that users shouldn't be expected to do anything about. Reduce the warning level to debug3 so it's only seen in verbose mode to avoid confusion. Reviewed-by: Leo Yan <leo.yan@linaro.org Signed-off-by: James Clark <james.clark@arm.com> Cc: Al Grant <al.grant@arm.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: John Garry <john.g.garry@oracle.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Mike Leach <mike.leach@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Suzuki Poulouse <suzuki.poulose@arm.com> Cc: Will Deacon <will@kernel.org> Cc: coresight@lists.linaro.org Cc: linux-arm-kernel@lists.infradead.org Link: https://lore.kernel.org/r/20230308094843.287093-1-james.clark@arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
d30baf2c37
commit
5f968d289b
@ -694,8 +694,8 @@ static void cs_etm_save_etmv4_header(__u64 data[], struct auxtrace_record *itr,
|
||||
data[CS_ETMV4_TS_SOURCE] = (__u64) cs_etm_get_ro_signed(cs_etm_pmu, cpu,
|
||||
metadata_etmv4_ro[CS_ETMV4_TS_SOURCE]);
|
||||
else {
|
||||
pr_warning("[%03d] pmu file 'ts_source' not found. Fallback to safe value (-1)\n",
|
||||
cpu);
|
||||
pr_debug3("[%03d] pmu file 'ts_source' not found. Fallback to safe value (-1)\n",
|
||||
cpu);
|
||||
data[CS_ETMV4_TS_SOURCE] = (__u64) -1;
|
||||
}
|
||||
}
|
||||
@ -729,8 +729,8 @@ static void cs_etm_save_ete_header(__u64 data[], struct auxtrace_record *itr, in
|
||||
data[CS_ETE_TS_SOURCE] = (__u64) cs_etm_get_ro_signed(cs_etm_pmu, cpu,
|
||||
metadata_ete_ro[CS_ETE_TS_SOURCE]);
|
||||
else {
|
||||
pr_warning("[%03d] pmu file 'ts_source' not found. Fallback to safe value (-1)\n",
|
||||
cpu);
|
||||
pr_debug3("[%03d] pmu file 'ts_source' not found. Fallback to safe value (-1)\n",
|
||||
cpu);
|
||||
data[CS_ETE_TS_SOURCE] = (__u64) -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user