summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2020-01-01 18:49:44 +0100
committerDavid S. Miller <davem@davemloft.net>2020-01-02 16:31:03 -0800
commita02158d62faa19d3cad8caf481253998a6c47934 (patch)
tree986f4040642244f961c9adbd7b99b3d58caf7504 /tools/perf/scripts/python/export-to-postgresql.py
parent6485f9ae3b96edeb2513528a6ad4fd77ee7bafc2 (diff)
fsl/fman: 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 + 1 - ptr.start) + resource_size(&ptr) @@ struct resource *ptr; @@ - (ptr->end + 1 - ptr->start) + resource_size(ptr) </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions