diff options
author | Mike Leach <mike.leach@linaro.org> | 2019-11-04 11:12:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-04 21:57:56 +0100 |
commit | a578427de5b2bb7ac52f807505a6bea7fff93d4b (patch) | |
tree | 7f8e733b99a908c7e991049dfcd54c3213a271ba /drivers/hwtracing/coresight/coresight-etm4x.h | |
parent | 3e12d3b01324a077a6313327d414a698584ef8c3 (diff) | |
download | linux-a578427de5b2bb7ac52f807505a6bea7fff93d4b.tar.bz2 |
coresight: etm4x: Add view comparator settings API to sysfs.
Currently it is not possible to view the current settings of a given
address comparator without knowing what type it is set to. For example, if
a comparator is set as an addr_start comparator, attempting to read
addr_stop for the same index will result in an error.
addr_cmp_view is added to allow the user to see the current settings of
the indexed address comparator without resorting to trial and error when
the set type is not known.
Signed-off-by: Mike Leach <mike.leach@linaro.org>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20191104181251.26732-11-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-etm4x.h')
0 files changed, 0 insertions, 0 deletions