[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4e0959e7-cb66-41f1-b686-a274b6cbfd2e@arm.com>
Date: Tue, 4 Mar 2025 16:10:58 +0000
From: Suzuki K Poulose <suzuki.poulose@....com>
To: Jie Gan <quic_jiegan@...cinc.com>, Mike Leach <mike.leach@...aro.org>,
James Clark <james.clark@...aro.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>
Cc: Tingwei Zhang <quic_tingweiz@...cinc.com>,
Jinlong Mao <quic_jinlmao@...cinc.com>, coresight@...ts.linaro.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com
Subject: Re: [PATCH v15 04/10] Coresight: Introduce a new struct
coresight_path
On 03/03/2025 03:29, Jie Gan wrote:
> Introduce a new strcuture, 'struct coresight_path', to store the data that
> utilized by the devices in the path. The coresight_path will be built/released
> by coresight_build_path/coresight_release_path functions.
>
> Signed-off-by: Jie Gan <quic_jiegan@...cinc.com>
> ---
> drivers/hwtracing/coresight/coresight-core.c | 16 +++++-----
> .../hwtracing/coresight/coresight-etm-perf.c | 30 ++++++++++---------
> .../hwtracing/coresight/coresight-etm-perf.h | 2 +-
> drivers/hwtracing/coresight/coresight-priv.h | 6 ++--
> drivers/hwtracing/coresight/coresight-sysfs.c | 12 ++++----
> include/linux/coresight.h | 10 +++++++
> 6 files changed, 44 insertions(+), 32 deletions(-)
>
...
> diff --git a/include/linux/coresight.h b/include/linux/coresight.h
> index ce9a5e71b261..67cf8bdbe5c0 100644
> --- a/include/linux/coresight.h
> +++ b/include/linux/coresight.h
> @@ -329,6 +329,16 @@ static struct coresight_dev_list (var) = { \
>
> #define to_coresight_device(d) container_of(d, struct coresight_device, dev)
>
> +/**
> + * struct coresight_path - data needed by enable/disable path
> + * @path: path from source to sink.
This doesn't match the actual variable below.
> + * @trace_id: trace_id of the whole path.
> + */
> +struct coresight_path {
> + struct list_head path_list;
> + u8 trace_id;
> +};
> +
> enum cs_mode {
> CS_MODE_DISABLED,
> CS_MODE_SYSFS,
Suzuki
Powered by blists - more mailing lists