diff options
author | Christian Brauner <brauner@kernel.org> | 2024-12-22 13:22:18 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-01-09 18:58:51 +0300 |
commit | bd32073632008979e39ab063acc252a5ce49efe9 (patch) | |
tree | 353732425ba8a8dc46ae7e78f42a4aa49e78d74c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) | |
parent | 056d33137bf9364456ee70aa265ccbb948daee49 (diff) | |
download | linux-bd32073632008979e39ab063acc252a5ce49efe9.tar.xz |
Merge patch series "fs: listmount()/statmount() fix and sample program"
Jeff Layton <jlayton@kernel.org> says:
We had some recent queries internally asking how to use the new
statmount() and listmount() interfaces. I was doing some other work in
this area, so I whipped up this tool.
My hope is that this will represent something of a "rosetta stone" for
how to translate between mountinfo and statmount(), and an example for
other people looking to use the new interfaces.
It may also be possible to use this as the basis for a listmount() and
statmount() testcase. We can call this program, and compare its output
to the mountinfo file.
The second patch adds security mount options to the existing mnt_opts in
the statmount() interface, which I think is the final missing piece
here. The alternative to doing that would be to add a new string field
for that, but I'm not sure that's worthwhile.
* patches from https://lore.kernel.org/r/20241115-statmount-v2-0-cd29aeff9cbb@kernel.org:
fs: prepend statmount.mnt_opts string with security_sb_mnt_opts()
samples: add a mountinfo program to demonstrate statmount()/listmount()
Link: https://lore.kernel.org/r/20241115-statmount-v2-0-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