Home
last modified time | relevance | path

Searched refs:smaps (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/tools/testing/selftests/mm/
H A Dmlock2-tests.c77 FILE *smaps; in is_vmflag_set() local
79 smaps = seek_to_smaps_entry(addr); in is_vmflag_set()
80 if (!smaps) { in is_vmflag_set()
85 while (getline(&line, &size, smaps) > 0) { in is_vmflag_set()
100 fclose(smaps); in is_vmflag_set()
113 FILE *smaps = NULL; in get_value_for_name() local
116 smaps = seek_to_smaps_entry(addr); in get_value_for_name()
117 if (!smaps) { in get_value_for_name()
122 while (getline(&line, &size, smaps) > 0) { in get_value_for_name()
139 if (smaps) in get_value_for_name()
[all …]
H A Dmlock-random-test.c88 FILE *smaps; in get_proc_page_size() local
93 smaps = seek_to_smaps_entry(addr); in get_proc_page_size()
94 if (!smaps) { in get_proc_page_size()
99 while (getline(&line, &size, smaps) > 0) { in get_proc_page_size()
117 if (smaps) in get_proc_page_size()
118 fclose(smaps); in get_proc_page_size()
/openbmc/openbmc-test-automation/bin/plug_ins/Mem_tracker/
H A Dmemcheck.sh69 [ ! -f /proc/${pid}/status -o ! -f /proc/${pid}/smaps ] && return 0
77 …pss_total=$(grep -e "^Pss:" /proc/${pid}/smaps | awk '{print $2}' | awk '{sum += $1} END {print su…
78 …private_total=$(grep -e "^Private" /proc/${pid}/smaps | awk '{print $2}' | awk '{sum += $1} END {p…
/openbmc/linux/Documentation/ABI/testing/
H A Dprocfs-smaps_rollup6 process. The format is almost identical to /proc/pid/smaps,
10 fields from all the maps in /proc/pid/smaps.
12 are not present in /proc/pid/smaps. These fields represent
/openbmc/linux/include/linux/
H A Dhuge_mm.h134 bool smaps, bool in_pf, bool enforce_sysfs);
295 unsigned long vm_flags, bool smaps, in hugepage_vma_check() argument
/openbmc/linux/fs/proc/
H A DKconfig89 /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
/openbmc/linux/Documentation/admin-guide/mm/
H A Dtranshuge.rst296 it is necessary to read ``/proc/PID/smaps`` and count the AnonHugePages fields
302 is necessary to read ``/proc/PID/smaps`` and count the FileHugeMapped fields
305 Note that reading the smaps file is expensive and reading it
/openbmc/linux/Documentation/filesystems/
H A Dproc.rst143 clear_refs Clears page referenced bits shown in smaps output
160 smaps An extension based on maps, showing the memory consumption of
162 smaps_rollup Accumulated smaps stats for all mappings of the process. This
163 can be derived from smaps, but is faster and more convenient
233 snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table.
446 The /proc/PID/smaps is an extension based on maps, showing the memory
585 Note: reading /proc/PID/maps or /proc/PID/smaps is inherently racy (consistent
595 life of the smaps/maps walk, there will be some output for it.
597 The /proc/PID/smaps_rollup file includes the same fields as /proc/PID/smaps,
606 described for smaps above. These fields are omitted in smaps since each
[all …]
/openbmc/linux/mm/
H A Dhuge_memory.c76 bool smaps, bool in_pf, bool enforce_sysfs) in hugepage_vma_check() argument
139 return (smaps || in_pf); in hugepage_vma_check()
H A DKconfig1210 names can be later retrieved from /proc/pid/maps and /proc/pid/smaps
/openbmc/qemu/linux-user/
H A Dsyscall.c8012 bool smaps; member
8070 if (d->smaps) { in open_self_maps_4()
8163 static int open_self_maps_1(CPUArchState *env, int fd, bool smaps) in open_self_maps_1() argument
8168 .smaps = smaps in open_self_maps_1()