aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorMengyuan Lou <[email protected]>2023-01-16 18:38:39 +0800
committerJakub Kicinski <[email protected]>2023-01-17 19:29:59 -0800
commit860edff562e7e6d8af0ba89ca7b41506e56be430 (patch)
treec657839ca766ebb8aec39cf6aea05fc9a5153224 /tools/perf/scripts/python/intel-pt-events.py
parentf3a1e0c896e81f766d8677c8c07c1875ad14272b (diff)
net: wangxun: clean up the code
Convert various mult-bit fields to be defined using GENMASK/FIELD_PREP. Simplify the code with the ternary operator. Signed-off-by: Mengyuan Lou <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions