summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-07-10 00:16:48 +0300
committerHans de Goede <hdegoede@redhat.com>2022-07-10 17:59:23 +0200
commit2b5b27826a48eea579bf103161c76d3b435764a8 (patch)
tree1919fd5dfa6f061dd08f0822f2326c41e7bff0de /tools/perf/scripts/python/export-to-postgresql.py
parent553b53e490642995de8f9862b3de01ae72dda4e3 (diff)
platform/x86: serial-multi-instantiate: Improve autodetection
Instead of calling specific resource counter, let just probe each of the type and see what it says. Return -ENOENT if no resources found. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220709211653.18938-1-andriy.shevchenko@linux.intel.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions