diff options
| author | Linu Cherian <[email protected]> | 2020-09-16 13:17:35 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-09-17 18:46:05 +0200 |
| commit | 6d578258b955fc8888e1bbd9a8fefe7b10065a84 (patch) | |
| tree | 91025f6e5b091a1d241a9312b47b77928ca105b7 /tools/perf/scripts/python | |
| parent | bb1860efc817c18fce4112f25f51043e44346d1b (diff) | |
coresight: Make sysfs functional on topologies with per core sink
Coresight driver assumes sink is common across all the ETMs,
and tries to build a path between ETM and the first enabled
sink found using bus based search. This breaks sysFS usage
on implementations that has multiple per core sinks in
enabled state.
To fix this, coresight_get_enabled_sink API is updated to
do a connection based search starting from the given source,
instead of bus based search.
With sink selection using sysfs depecrated for perf interface,
provision for reset is removed as well in this API.
Signed-off-by: Linu Cherian <[email protected]>
[Fixed indentation problem and removed obsolete comment]
Signed-off-by: Mathieu Poirier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions