diff options
| author | Suzuki K Poulose <[email protected]> | 2020-05-18 12:02:23 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-05-19 16:31:15 +0200 |
| commit | 8a7365c2d41898f2376efa929aadf2723dc281b0 (patch) | |
| tree | 45ebdf7943d2e85ed9b6e4db3b7d70cb7637d636 /tools/perf/scripts/python/bin | |
| parent | 80961525880e58e0efcf536fd357d642c68f4176 (diff) | |
coresight: Expose device connections via sysfs
Coresight device connections are a bit complicated and is not
exposed currently to the user. One has to look at the platform
descriptions (DT bindings or ACPI bindings) to make an understanding.
Given the new naming scheme, it will be helpful to have this information
to choose the appropriate devices for tracing. This patch exposes
the device connections via links in the sysfs directories.
e.g, for a connection devA[OutputPort_X] -> devB[InputPort_Y]
is represented as two symlinks:
/sys/bus/coresight/.../devA/out:X -> /sys/bus/coresight/.../devB
/sys/bus/coresight/.../devB/in:Y -> /sys/bus/coresight/.../devA
Signed-off-by: Suzuki K Poulose <[email protected]>
[Revised to use the generic sysfs links functions & link structures.
Provides a connections sysfs group in each device to hold the links.]
Co-developed-by: Mike Leach <[email protected]>
Signed-off-by: Mike Leach <[email protected]>
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/bin')
0 files changed, 0 insertions, 0 deletions