aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorLen Baker <[email protected]>2021-10-24 19:29:21 +0200
committerChristoph Hellwig <[email protected]>2021-10-27 08:06:41 +0200
commitd156cfcafbd0eae4224ea007d95ebda467eb0c46 (patch)
treec48d56c067bde50fa8a609760ff4e8b9303921c0 /tools/perf/scripts/python/intel-pt-events.py
parent2953b30b1d9feb1bc555682e64e6479d197b9231 (diff)
nvmet: use flex_array_size and struct_size
In an effort to avoid open-coded arithmetic in the kernel [1], use the flex_array_size() and struct_size() helpers instead of an open-coded calculation. [1] https://github.com/KSPP/linux/issues/160 Signed-off-by: Len Baker <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions