aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorJérémy Lefaure <[email protected]>2017-10-01 15:30:47 -0400
committerJ. Bruce Fields <[email protected]>2017-10-05 13:56:39 -0400
commita133552a0049aa2ff92f83dbe8d5185485b538c4 (patch)
tree53fd16800d897e36750219984ce2523a53a738e2 /tools/perf/scripts/python/call-graph-from-sql.py
parentde766e570413bd0484af0b580299b495ada625c3 (diff)
nfsd: use ARRAY_SIZE
Using the ARRAY_SIZE macro improves the readability of the code. Found with Coccinelle with the following semantic patch: @r depends on (org || report)@ type T; T[] E; position p; @@ ( (sizeof(E)@p /sizeof(*E)) | (sizeof(E)@p /sizeof(E[...])) | (sizeof(E)@p /sizeof(T)) ) Signed-off-by: Jérémy Lefaure <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions