aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorAnju T Sudhakar <[email protected]>2019-11-27 12:50:35 +0530
committerMichael Ellerman <[email protected]>2019-12-05 17:06:23 +1100
commit48e626ac85b43cc589dd1b3b8004f7f85f03544d (patch)
tree25cfc59e9d8ef45af72002e7c5b3c9099b4152fc /tools/perf/scripts/python/bin/export-to-postgresql-report
parent551003fff7235ce935bc1fefb72d12b63a408bd0 (diff)
powerpc/powernv: Avoid re-registration of imc debugfs directory
export_imc_mode_and_cmd() function which creates the debugfs interface for imc-mode and imc-command, is invoked when each nest pmu units is registered. When the first nest pmu unit is registered, export_imc_mode_and_cmd() creates 'imc' directory under `/debug/powerpc/`. In the subsequent invocations debugfs_create_dir() function returns, since the directory already exists. The recent commit <c33d442328f55> (debugfs: make error message a bit more verbose), throws a warning if we try to invoke `debugfs_create_dir()` with an already existing directory name. Address this warning by making the debugfs directory registration in the opal_imc_counters_probe() function, i.e invoke export_imc_mode_and_cmd() function from the probe function. Signed-off-by: Anju T Sudhakar <[email protected]> Tested-by: Nageswara R Sastry <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions