linux/tools/mm
Ye Liu 3fb355431e tools/mm/page-types: fix kpageflags option argument in getopt_long
The --kpageflags option requires an argument to specify the kpageflags
file path, but has_arg was set to 0 (no_argument) in the long options
table.  Change it to 1 (required_argument) so getopt_long correctly parses
the argument.

Link: https://lore.kernel.org/20260513022120.58033-4-ye.liu@linux.dev
Signed-off-by: Ye Liu <liuye@kylinos.cn>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
History 2026-06-02 15:22:18 -07:00
..
.gitignore tools/vm: rename tools/vm to tools/mm 2023-01-18 17:12:55 -08:00
Makefile tools/mm: rm thp_swap_allocator_test when make clean 2024-09-09 16:47:41 -07:00
page-types.c tools/mm/page-types: fix kpageflags option argument in getopt_long 2026-06-02 15:22:18 -07:00
page_owner_sort.c tools/mm/page_owner_sort: fix timestamp comparison for stable sorting 2025-12-23 11:23:14 -08:00
show_page_info.py tools/mm: add script to display page state for a given PID and VADDR 2025-07-09 22:41:53 -07:00
slabinfo-gnuplot.sh tools/vm: rename tools/vm to tools/mm 2023-01-18 17:12:55 -08:00
slabinfo.c tools/mm/slabinfo: fix --partial long option mapping 2026-01-20 19:24:43 -08:00
thp_swap_allocator_test.c tools/mm/thp_swap_allocator_test: fix small folio alignment 2026-01-20 19:24:42 -08:00
thpmaps tools/mm: add thpmaps script to dump THP usage info 2024-02-22 10:24:38 -08:00