mbox series

[v2,0/3] interconnect: Add basic tracepoints

Message ID 20191101130031.27996-1-georgi.djakov@linaro.org
Headers show
Series interconnect: Add basic tracepoints | expand

Message

Georgi Djakov Nov. 1, 2019, 1 p.m. UTC
The tracepoints can help with understanding the system behavior of a
given interconnect path when the consumer drivers change their bandwidth
demands. This might be interesting when we want to monitor the requested
interconnect bandwidth for each client driver. The paths may share the
same nodes and this will help to understand "who and when is requesting
what". All this is useful for subsystem drivers developers and may also
provide hints when optimizing the power and performance profile of the
system.

v2:
- Moved dev_name() into TP_fast_assign() to reduce cache footprint. (Steven)
- Added path name to traces (Bjorn)
- Added trace for path, device and ret. (Bjorn)

v1: https://lore.kernel.org/r/20191018140224.15087-1-georgi.djakov@linaro.org

Georgi Djakov (3):
  interconnect: Move internal structs into a separate file
  interconnect: Add a name to struct icc_path
  interconnect: Add basic tracepoints

 MAINTAINERS                         |  1 +
 drivers/interconnect/core.c         | 53 ++++++++-----------
 drivers/interconnect/internal.h     | 42 +++++++++++++++
 include/trace/events/interconnect.h | 81 +++++++++++++++++++++++++++++
 4 files changed, 147 insertions(+), 30 deletions(-)
 create mode 100644 drivers/interconnect/internal.h
 create mode 100644 include/trace/events/interconnect.h