aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorRinHizakura <[email protected]>2021-12-25 18:07:13 +0800
committerMiquel Raynal <[email protected]>2022-01-23 16:37:05 +0100
commit109cf81fb573c1b685282a35e427e76f35870628 (patch)
tree9bf9e64c2c52dc446a76594df395fb88c98869d2 /tools/perf/scripts/python/intel-pt-events.py
parentdb52b445793d8e4ffe9b53ff749a55470b900984 (diff)
mtd: rawnand: nandsim: Add NS_PAGE_BYTE_SHIFT macro to replace the repeat pattern
The (ns->regs.column + ns->regs.off) pattern repeats a lot which represents the byte shift in next page to access. We can replace it with a macro to improve the readability. Signed-off-by: RinHizakura <[email protected]> Reviewed-by: Richard Weinberger <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions