aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2020-10-13 16:52:39 -0700
committerLinus Torvalds <[email protected]>2020-10-13 18:38:30 -0700
commit61e604e636ab9614de49df9149ef92cae17e9701 (patch)
treea1bc174f31cd14339b6408ba9c53c5bfb288e67e /tools/perf/scripts/python/flamegraph.py
parente90342e6d26ab6d1c38c8f5804492d76e3e9b4e9 (diff)
mm: memcontrol: use the preferred form for passing the size of a structure type
Use the preferred form for passing the size of a structure type. The alternative form where the structure type is spelled out hurts readability and introduces an opportunity for a bug when the object type is changed but the corresponding object identifier to which the sizeof operator is applied is not. Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Vladimir Davydov <[email protected]> Link: https://lkml.kernel.org/r/773e013ff2f07fe2a0b47153f14dea054c0c04f1.1596214831.git.gustavoars@kernel.org Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions