Searched hist:"7 e52877868ae2546ead8ba07cdf1d3e4c9e931f7" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-trace-id.h | diff 7e52877868ae2546ead8ba07cdf1d3e4c9e931f7 Mon Jul 22 12:11:54 CEST 2024 James Clark <james.clark@arm.com> coresight: Expose map arguments in trace ID API
The trace ID API is currently hard coded to always use the global map. Add public versions that allow the map to be passed in so that Perf mode can use per-sink maps. Keep the non-map versions so that sysfs mode can continue to use the default global map.
System ID functions are unchanged because they will always use the default map.
Signed-off-by: James Clark <james.clark@arm.com> Reviewed-by: Mike Leach <mike.leach@linaro.org> Tested-by: Leo Yan <leo.yan@arm.com> Signed-off-by: James Clark <james.clark@linaro.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20240722101202.26915-13-james.clark@linaro.org
|
H A D | coresight-trace-id.c | diff 7e52877868ae2546ead8ba07cdf1d3e4c9e931f7 Mon Jul 22 12:11:54 CEST 2024 James Clark <james.clark@arm.com> coresight: Expose map arguments in trace ID API
The trace ID API is currently hard coded to always use the global map. Add public versions that allow the map to be passed in so that Perf mode can use per-sink maps. Keep the non-map versions so that sysfs mode can continue to use the default global map.
System ID functions are unchanged because they will always use the default map.
Signed-off-by: James Clark <james.clark@arm.com> Reviewed-by: Mike Leach <mike.leach@linaro.org> Tested-by: Leo Yan <leo.yan@arm.com> Signed-off-by: James Clark <james.clark@linaro.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20240722101202.26915-13-james.clark@linaro.org
|