tools/perf/trace/beauty/fsmount.c
Source file repositories/reference/linux-study-clean/tools/perf/trace/beauty/fsmount.c
File Facts
- System
- Linux kernel
- Corpus path
tools/perf/trace/beauty/fsmount.c- Extension
.c- Size
- 1860 bytes
- Lines
- 58
- Domain
- Support Tooling And Documentation
- Bucket
- tools
- Inferred role
- Support Tooling And Documentation: implementation source
- Status
- source implementation candidate
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
trace/beauty/beauty.hlinux/log2.hsys/mount.htrace/beauty/generated/fsmount_arrays.ctrace/beauty/generated/fsmount_attr_arrays.c
Detected Declarations
function Copyrightfunction syscall_arg__scnprintf_fsmount_flagsfunction fsmount__scnprintf_attr_flagsfunction syscall_arg__scnprintf_fsmount_attr_flags
Annotated Snippet
if ((flags & MOUNT_ATTR__ATIME) == MOUNT_ATTR_RELATIME) {
printed += scnprintf(bf + printed, size - printed, "%s%s%s",
printed ? "|" : "", show_prefix ? "MOUNT_ATTR_" : "", "RELATIME");
}
return printed;
}
size_t syscall_arg__scnprintf_fsmount_attr_flags(char *bf, size_t size, struct syscall_arg *arg)
{
unsigned long flags = arg->val;
return fsmount__scnprintf_attr_flags(flags, bf, size, arg->show_string_prefix);
}
Annotation
- Immediate include surface: `trace/beauty/beauty.h`, `linux/log2.h`, `sys/mount.h`, `trace/beauty/generated/fsmount_arrays.c`, `trace/beauty/generated/fsmount_attr_arrays.c`.
- Detected declarations: `function Copyright`, `function syscall_arg__scnprintf_fsmount_flags`, `function fsmount__scnprintf_attr_flags`, `function syscall_arg__scnprintf_fsmount_attr_flags`.
- Atlas domain: Support Tooling And Documentation / tools.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.