diff options
| author | James Clark <[email protected]> | 2022-08-30 18:26:11 +0100 |
|---|---|---|
| committer | Mathieu Poirier <[email protected]> | 2022-08-31 10:55:28 -0600 |
| commit | 08e9fa5f3663eaab20ea3430023d1dfbf60d29f5 (patch) | |
| tree | 6af73141bab067c0afe70892410597f342a60d32 /tools/perf/scripts/python/futex-contention.py | |
| parent | b6df1cbb415e543f2908f9c59a8fb20714b86879 (diff) | |
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 <[email protected]>
Reviewed-by: Mike Leach <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions