summaryrefslogtreecommitdiff
path: root/drivers/hwtracing/coresight/coresight-etm.h
diff options
context:
space:
mode:
authorMike Leach <mike.leach@linaro.org>2023-01-16 12:49:20 +0000
committerSuzuki K Poulose <suzuki.poulose@arm.com>2023-01-19 10:16:47 +0000
commit42708bac18cf7f09c058058cd4564f879c53b900 (patch)
treeced7717aa450ebd81ce8132d6a11fda780ef239f /drivers/hwtracing/coresight/coresight-etm.h
parent9edf291091f68f4767cb9d65fa825b64021277bd (diff)
coresight: etmX.X: stm: Remove trace_id() callback
CoreSight sources provide a callback (.trace_id) in the standard source ops which returns the ID to the core code. This was used to check that sources all had a unique Trace ID. Uniqueness is now gauranteed by the Trace ID allocation system, and the check code has been removed from the core. This patch removes the unneeded and unused .trace_id source ops from the ops structure and implementations in etm3x, etm4x and stm. Signed-off-by: Mike Leach <mike.leach@linaro.org> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20230116124928.5440-8-mike.leach@linaro.org
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-etm.h')
-rw-r--r--drivers/hwtracing/coresight/coresight-etm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwtracing/coresight/coresight-etm.h b/drivers/hwtracing/coresight/coresight-etm.h
index 3667428d38b6..9a0d08b092ae 100644
--- a/drivers/hwtracing/coresight/coresight-etm.h
+++ b/drivers/hwtracing/coresight/coresight-etm.h
@@ -283,7 +283,6 @@ static inline unsigned int etm_readl(struct etm_drvdata *drvdata, u32 off)
}
extern const struct attribute_group *coresight_etm_groups[];
-int etm_get_trace_id(struct etm_drvdata *drvdata);
void etm_set_default(struct etm_config *config);
void etm_config_trace_mode(struct etm_config *config);
struct etm_config *get_etm_config(struct etm_drvdata *drvdata);