aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorHimangi Saraogi <[email protected]>2014-07-24 02:46:38 +0530
committerDavid S. Miller <[email protected]>2014-07-24 23:31:36 -0700
commit7b18ef08ba58a91bef7149e64443397cfc2523f3 (patch)
treefeff2ea5cbfcd8894697f09e656f55710c24a443 /tools/perf/scripts/python/event_analyzing_sample.py
parentc81576c225b942496feb9fbef5bca506bc64ce57 (diff)
isdn: use constants instead of magicnumbers
This patch changes instances of magic numbers like 4 and 8 to equivalent constants. The Coccinelle semantic patch used for making the change is as follows: // <smpl> @r@ type T; T E; identifier fld; identifier c; @@ E->fld & c @s@ constant C; identifier r.c; @@ #define c C @@ r.T E; identifier r.fld; identifier r.c; constant s.C; @@ E->fld & - C + c // </smpl> Signed-off-by: Himangi Saraogi <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions