Home
last modified time | relevance | path

Searched hist:"0336 bdfd" (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/hwtracing/coresight/
H A Dcoresight-priv.h0336bdfd Thu Jul 16 17:57:43 GMT 2020 Mike Leach <[email protected]> coresight: Add default sink selection to CoreSight base

Adds a method to select a suitable sink connected to a given source.

In cases where no sink is defined, the coresight_find_default_sink
routine can search from a given source, through the child connections
until a suitable sink is found.

The suitability is defined in by the sink coresight_dev_subtype on the
CoreSight device, and the distance from the source by counting
connections.

Higher value subtype is preferred - where these are equal, shorter
distance from source is used as a tie-break.

This allows for default sink to be discovered were none is specified
(e.g. perf command line)

Signed-off-by: Mike Leach <[email protected]>
Suggested-by: Suzuki K Poulose <[email protected]>
Reviewed-by: Leo Yan <[email protected]>
Reviewed-by: Suzuki K Poulose <[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]>
/linux-6.15/include/linux/
H A Dcoresight.h0336bdfd Thu Jul 16 17:57:43 GMT 2020 Mike Leach <[email protected]> coresight: Add default sink selection to CoreSight base

Adds a method to select a suitable sink connected to a given source.

In cases where no sink is defined, the coresight_find_default_sink
routine can search from a given source, through the child connections
until a suitable sink is found.

The suitability is defined in by the sink coresight_dev_subtype on the
CoreSight device, and the distance from the source by counting
connections.

Higher value subtype is preferred - where these are equal, shorter
distance from source is used as a tie-break.

This allows for default sink to be discovered were none is specified
(e.g. perf command line)

Signed-off-by: Mike Leach <[email protected]>
Suggested-by: Suzuki K Poulose <[email protected]>
Reviewed-by: Leo Yan <[email protected]>
Reviewed-by: Suzuki K Poulose <[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]>