aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2020-01-01 18:49:48 +0100
committerPaul Burton <[email protected]>2020-01-10 11:31:16 -0800
commitecb983790fe893e73e6d29bcb6d8df71e593a550 (patch)
tree13e838e52f911e0b14ee7360cbad1169c29d6a9a /tools/perf/scripts/python/sctop.py
parent0ce5ebd24d25f02c73940f047b12733d84b125e8 (diff)
MIPS: use resource_size
Use resource_size rather than a verbose computation on the end and start fields. The semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) <smpl> @@ struct resource ptr; @@ - (ptr.end - ptr.start + 1) + resource_size(&ptr) </smpl> Signed-off-by: Julia Lawall <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Paul Burton <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: [email protected] Cc: James Hogan <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions