lkml.org 
[lkml]   [2022]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.16 0910/1039] Documentation: coresight: Fix documentation issue
    Date
    From: Mike Leach <mike.leach@linaro.org>

    commit 66bd1333abd7fa191f13b929c9119d6cd3df27b0 upstream.

    Fix the description of the directories and attributes used
    in cs_etm as used by perf.

    Drop the references to the 'configurations' sub-directory which
    had been removed in an earlier version of the patchset.

    Fixes: f71cd93d5ea4 ("Documentation: coresight: Add documentation for CoreSight config")
    Reported-by: German Gomex <german.gomez@arm.com>
    Signed-off-by: Mike Leach <mike.leach@linaro.org>
    Link: https://lore.kernel.org/r/20211117164220.14883-1-mike.leach@linaro.org
    Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    Documentation/trace/coresight/coresight-config.rst | 16 +++++-----------
    1 file changed, 5 insertions(+), 11 deletions(-)

    --- a/Documentation/trace/coresight/coresight-config.rst
    +++ b/Documentation/trace/coresight/coresight-config.rst
    @@ -211,19 +211,13 @@ also declared in the perf 'cs_etm' event
    be selected when running trace under perf::

    $ ls /sys/devices/cs_etm
    - configurations format perf_event_mux_interval_ms sinks type
    - events nr_addr_filters power
    + cpu0 cpu2 events nr_addr_filters power subsystem uevent
    + cpu1 cpu3 format perf_event_mux_interval_ms sinks type

    -Key directories here are 'configurations' - which lists the loaded
    -configurations, and 'events' - a generic perf directory which allows
    -selection on the perf command line.::
    +The key directory here is 'events' - a generic perf directory which allows
    +selection on the perf command line. As with the sinks entries, this provides
    +a hash of the configuration name.

    - $ ls configurations/
    - autofdo
    - $ cat configurations/autofdo
    - 0xa7c3dddd
    -
    -As with the sinks entries, this provides a hash of the configuration name.
    The entry in the 'events' directory uses perfs built in syntax generator
    to substitute the syntax for the name when evaluating the command::


    \
     
     \ /
      Last update: 2022-01-25 04:09    [W:2.478 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site