summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2024-11-15 18:35:52 +0300
committerChristian Brauner <brauner@kernel.org>2025-01-09 18:58:50 +0300
commitc6640d46dc5a31ee7363545530836c10b9ddb9de (patch)
treeb6454d29f71641cf33c3bd53afe7393a68909424 /tools/perf/scripts/python/export-to-postgresql.py
parent344bac8f0d73fe970cd9f5b2f132906317d29e8b (diff)
downloadlinux-c6640d46dc5a31ee7363545530836c10b9ddb9de.tar.xz
samples: add a mountinfo program to demonstrate statmount()/listmount()
Add a new "mountinfo" sample userland program that demonstrates how to use statmount() and listmount() to get at the same info that /proc/pid/mountinfo provides. The output of the program tries to mimic the mountinfo procfile contents. With the -p flag, it can be pointed at an arbitrary pid to print out info about its mount namespace. With the -r flag it will attempt to walk all of the namespaces under the pid's mount namespace and dump out mount info from all of them. Signed-off-by: Jeff Layton <jlayton@kernel.org> Link: https://lore.kernel.org/r/20241115-statmount-v2-1-cd29aeff9cbb@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions