aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorChangbin Du <[email protected]>2021-09-24 15:43:41 -0700
committerLinus Torvalds <[email protected]>2021-09-24 16:13:35 -0700
commitebaeab2fe87987cef28eb5ab174c42cd28594387 (patch)
tree0c34660f43f0b06d9f39bc1137c2471ddd66247b /scripts/gdb/linux/utils.py
parentd09c38726c78effaf910a1e3f31e247b5b031d56 (diff)
tools/vm/page-types: remove dependency on opt_file for idle page tracking
Idle page tracking can also be used for process address space, not only file mappings. Without this change, using with '-i' option for process address space encounters below errors reported. $ sudo ./page-types -p $(pidof bash) -i mark page idle: Bad file descriptor mark page idle: Bad file descriptor mark page idle: Bad file descriptor mark page idle: Bad file descriptor ... Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Changbin Du <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions