diff options
| author | Nhat Pham <[email protected]> | 2023-05-02 18:36:08 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-06-09 16:25:17 -0700 |
| commit | 88537aac0b3840314d3a5cc401a7fc400c069bc9 (patch) | |
| tree | 0685016ed333b915cb1248ed8206177eca166db1 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 946e697c69ffeeefdd84dad90eac307284df46be (diff) | |
selftests: add selftests for cachestat
Test cachestat on a newly created file, /dev/ files, /proc/ files and a
directory. Also test on a shmem file (which can also be tested with
huge pages since tmpfs supports huge pages).
[[email protected]: fix spelling mistake "trucate" -> "truncate"]
Link: https://lkml.kernel.org/r/[email protected]
[[email protected]: avoid excessive stack allocation]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Nhat Pham <[email protected]>
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Brian Foster <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Michael Kerrisk <[email protected]>
Cc: Colin Ian King <[email protected]>
Cc: Michael Ellerman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions