diff options
author | Suzuki K Poulose <[email protected]> | 2021-02-01 11:13:30 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-02-04 17:00:33 +0100 |
commit | f5bd523690d2ff7bc4bd3f535888eaf9349be176 (patch) | |
tree | b3fb0ad55c8609588753d67c9f7a168a516f6951 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 5e2acf9d5d2dffd668dab8899d9fc904f1051e07 (diff) |
coresight: etm4x: Convert all register accesses
Convert all register accesses from etm4x driver to use a wrapper
to allow switching the access at runtime with little overhead.
co-developed by sed tool ;-), mostly equivalent to :
s/readl\(_relaxed\)\?(drvdata->base + \(.*\))/etm4x_\1_read32(csdev, \2)
s/writel\(_relaxed\)\?(\(.*\), drvdata->base + \(.*\))/etm4x_\1_write32(csdev, \2, \3)
We don't want to replace them with the csdev_access_* to
avoid a function call for every register access for system
register access. This is a prepartory step to add system
register access later where the support is available.
Link: https://lore.kernel.org/r/[email protected]
Cc: Mike Leach <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Signed-off-by: Mathieu Poirier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions