diff options
| author | James Clark <james.clark@linaro.org> | 2024-12-10 14:49:28 +0000 |
|---|---|---|
| committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2025-03-11 14:55:57 +0000 |
| commit | 4a29fa2626a1daea1753a6f7cdcd7ae456e0335e (patch) | |
| tree | 81204b283f10dda908eedfb1e48cb156c141cbf7 /Documentation/userspace-api/perf_ring_buffer.rst | |
| parent | d11eb31db26912e6e3882a2d253e5a79374c412e (diff) | |
| download | linux-next-4a29fa2626a1daea1753a6f7cdcd7ae456e0335e.tar.gz linux-next-4a29fa2626a1daea1753a6f7cdcd7ae456e0335e.zip | |
coresight: docs: Remove target sink from examples
Previously the sink had to be specified, but now it auto selects one by
default. Including a sink in the examples causes issues when copy
pasting the command because it might not work if that sink isn't
present. Remove the sink from all the basic examples and create a new
section specifically about overriding the default one.
Make the text a but more concise now that it's in the advanced section,
and similarly for removing the old kernel advice.
Signed-off-by: James Clark <james.clark@linaro.org>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20241210144933.295798-1-james.clark@linaro.org
Diffstat (limited to 'Documentation/userspace-api/perf_ring_buffer.rst')
| -rw-r--r-- | Documentation/userspace-api/perf_ring_buffer.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/userspace-api/perf_ring_buffer.rst b/Documentation/userspace-api/perf_ring_buffer.rst index bde9d8cbc106..dc71544532ce 100644 --- a/Documentation/userspace-api/perf_ring_buffer.rst +++ b/Documentation/userspace-api/perf_ring_buffer.rst @@ -627,7 +627,7 @@ regular ring buffer. AUX events and AUX trace data are two different things. Let's see an example:: - perf record -a -e cycles -e cs_etm/@tmc_etr0/ -- sleep 2 + perf record -a -e cycles -e cs_etm// -- sleep 2 The above command enables two events: one is the event *cycles* from PMU and another is the AUX event *cs_etm* from Arm CoreSight, both are saved @@ -766,7 +766,7 @@ only record AUX trace data at a specific time point which users are interested in. E.g. below gives an example of how to take snapshots with 1 second interval with Arm CoreSight:: - perf record -e cs_etm/@tmc_etr0/u -S -a program & + perf record -e cs_etm//u -S -a program & PERFPID=$! while true; do kill -USR2 $PERFPID |
