diff options
| author | James Clark <james.clark@arm.com> | 2022-08-30 18:26:11 +0100 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2022-08-31 10:55:28 -0600 |
| commit | 08e9fa5f3663eaab20ea3430023d1dfbf60d29f5 (patch) | |
| tree | 6af73141bab067c0afe70892410597f342a60d32 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | coresight: Simplify sysfs accessors by using csdev_access abstraction (diff) | |
| download | linux-08e9fa5f3663eaab20ea3430023d1dfbf60d29f5.tar.gz linux-08e9fa5f3663eaab20ea3430023d1dfbf60d29f5.zip | |
coresight: Re-use same function for similar sysfs register accessors
Currently each accessor macro creates an identical function which wastes
space in the text area and pollutes the ftrace function names. Change it
so that the same function is used, but the register to access is passed
in as parameter rather than baked into each function.
Signed-off-by: James Clark <james.clark@arm.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20220830172614.340962-4-james.clark@arm.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions
