summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRinHizakura <s921975628@gmail.com>2021-12-25 13:07:13 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-01-23 18:37:05 +0300
commit109cf81fb573c1b685282a35e427e76f35870628 (patch)
tree9bf9e64c2c52dc446a76594df395fb88c98869d2 /tools/perf/scripts/python/export-to-postgresql.py
parentdb52b445793d8e4ffe9b53ff749a55470b900984 (diff)
downloadlinux-109cf81fb573c1b685282a35e427e76f35870628.tar.xz
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 <s921975628@gmail.com> Reviewed-by: Richard Weinberger <richard@nod.at> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20211225100713.119089-1-s921975628@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions