coresight: Make language around "activated" sinks consistent
authorJames Clark <james.clark@arm.com>
Mon, 29 Jan 2024 15:40:33 +0000 (15:40 +0000)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 12 Feb 2024 10:21:37 +0000 (10:21 +0000)
commita0fef3f05cf36338d471e8f35a9ced88a054d583
treeb5cd9a0eaf7c2d88fe3670c6c6ce6ecae36e6e41
parentf68bbe4dcfa303164922bc331d2e8d38ed2d4f23
coresight: Make language around "activated" sinks consistent

Activated has the specific meaning of a sink that's selected for use by
the user via sysfs. But comments in some code that's shared by Perf use
the same word, so in those cases change them to just say "selected"
instead. With selected implying either via Perf or "activated" via
sysfs.

coresight_get_enabled_sink() doesn't actually get an enabled sink, it
only gets an activated one, so change that too.

And change the activated variable name to include "sysfs" so it can't
be confused as a general status.

Signed-off-by: James Clark <james.clark@arm.com>
Link: https://lore.kernel.org/r/20240129154050.569566-3-james.clark@arm.com
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
drivers/hwtracing/coresight/coresight-core.c
drivers/hwtracing/coresight/coresight-priv.h
include/linux/coresight.h