summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2016-02-17 17:51:45 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2016-06-01 15:30:11 -0600
commitfde79d4de7443a7e3cca1dd05d4a789ebc490a53 (patch)
tree15fc95147c887bfe6a2a0663c79cefe91608bc54 /tools/perf/scripts/python
parente1e8321c38b7e47ca9b8095b584dc89bef46504c (diff)
coresight: associating path with session rather than tracer
When using the Coresight framework from the sysFS interface a tracer is always handling a single session and as such, a path can be associated with a tracer. But when supporting multiple session per tracer there is no guarantee that sessions will always have the same path from source to sink. This patch is removing the automatic association between path and tracers. The building of a path and enablement of the components in the path are decoupled, allowing for the association of a path with a session rather than a tracer. To keep backward functionality with the current sysFS access methods a per-cpu place holder is used to keep a handle on the path built when tracers are enabled. Lastly APIs to build paths and enable tracers are made public so that other subsystem can interact with the Coresight framework. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit b3e94405941e6916d5e365454d74560c2bea47ca)
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions