summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexandre Ghiti <alex@ghiti.fr>2020-02-20 09:10:23 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-03-06 00:09:59 +0300
commit3133287b53ee88444e2294e601d2bad54a798f59 (patch)
treec366b2406e666ce7edebe424077e2ef40a069830 /tools/perf/scripts/python/export-to-postgresql.py
parentabc71bf0a70311ab294f97a7f16e8de03718c05a (diff)
downloadlinux-3133287b53ee88444e2294e601d2bad54a798f59.tar.xz
riscv: Use p*d_leaf macros to define p*d_huge
The newly introduced p*d_leaf macros allow to check if an entry of the page table map to a physical page instead of the next level. To avoid duplication of code, use those macros to determine if a page table entry points to a hugepage. Suggested-by: Paul Walmsley <paul.walmsley@sifive.com> Signed-off-by: Alexandre Ghiti <alex@ghiti.fr> Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions