Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1384407
| From | Suzuki K Poulose <Suzuki.Poulose@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V2 14/15] coresight: tmc: implementing TMC-ETR AUX space API |
| Date | 2016-04-21 18:20 +0200 |
| Message-ID | <rqpuG-3tV-9@gated-at.bofh.it> (permalink) |
| References | <rnaLv-2Vr-3@gated-at.bofh.it> <rnaLw-2Vr-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 12/04/16 18:54, Mathieu Poirier wrote:
> This patch implement the AUX area interfaces required to
> use the TMC (configured as an ETR) from the Perf sub-system.
>
> The heuristic is heavily borrowed from the ETB10 and TMC-ETF
> implementation.
>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
> +static void tmc_update_etr_buffer(struct coresight_device *csdev,
> + struct perf_output_handle *handle,
> + void *sink_config)
> +{
> + struct cs_etr_buffers *buf = sink_config;
> +
> + /*
> + * An ETR configured to work in contiguous memory mode works the same
> + * was as an ETB or ETF.
> + */
> + tmc_update_etf_buffer(csdev, handle, &buf->tmc);
Really ? I thought the ETR stores the data to the allocated System RAM and can
be read directly from the memory than using the RRD ?
Suzuki
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH V2 14/15] coresight: tmc: implementing TMC-ETR AUX space API Suzuki K Poulose <Suzuki.Poulose@arm.com> - 2016-04-21 18:20 +0200 Re: [PATCH V2 14/15] coresight: tmc: implementing TMC-ETR AUX space API Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-04-22 00:10 +0200
csiph-web