aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-07-10 00:16:48 +0300
committerHans de Goede <[email protected]>2022-07-10 17:59:23 +0200
commit2b5b27826a48eea579bf103161c76d3b435764a8 (patch)
tree1919fd5dfa6f061dd08f0822f2326c41e7bff0de /tools/perf/scripts/python
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions