aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <[email protected]>2018-06-29 14:11:16 +1000
committerLinus Walleij <[email protected]>2018-07-02 16:10:07 +0200
commit44ddf559d5792b2bffcd44febf9b7b55b03e06b4 (patch)
tree0f03179e6e34d20b0c9d4e1e23a88678998ebb3c /tools/perf/scripts/python/call-graph-from-sql.py
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
gpio: aspeed: Rework register type accessors
Use a single accessor function for all register types instead of several spread around. This will make it easier/cleaner to introduce new registers and keep the mechanism in one place. The big switch/case is optimized at compile time since the switch value is a constant. Signed-off-by: Benjamin Herrenschmidt <[email protected]> Reviewed-by: Joel Stanley <[email protected]> Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions