当前位置: 首页 > news >正文

Tracepoints for the VFS?

Adding tracepoints to some kernel subsystems has been controversial—or disallowed—due to concerns about the user-space ABI that they might create. The virtual filesystem (VFS) layer has long been one of the subsystems that has not allowed any tracepoints, but that may be changing. At the 2025 Linux Storage, Filesystem, Memory Management, and BPF Summit (LSFMM+BPF), Ted Ts'o led a discussion about whether the ABI concerns are outweighed by the utility of tracepoints for the VFS.

由于担心可能会引入用户空间 ABI,一些内核子系统中添加 tracepoint 一直存在争议,甚至被禁止。虚拟文件系统(VFS)层长期以来就是一个不允许添加 tracepoint 的子系统,但这种情况可能正在发生变化。在 2025 年的 Linux 存储、文件系统、内存管理和 BPF 峰会(LSFMM+BPF)上,Ted Ts’o 主持了一场讨论,探讨 VFS 是否应该添加 tracepoint,以及其带来的实用性是否能胜过对 ABI 的担忧。

Ts'o began by noting that Al Viro, who has opposed VFS tracepoints over the years, was not present, but that VFS co-maintainer Christian Brauner was in attendance to give his opinions on the matter. Historically, there have been concerns about placing tracepoints at various places in the VFS, Ts'o said, such as for system calls like open() and rename(). One concern is about tracepoints in hot paths affecting performance, but he thinks that could be worked around by keeping the tracepoints at the system-call level. Another is that the tracepoints "might potentially constrain our implementation" because of the user-space interface question, with the powertop incident often cited as an example of the problem.

Ts’o 说,长期反对在 VFS 中添加 tracepoint 的 Al Viro 并未出席会议,但 VFS 的共同维护者 Christian Brauner 到场,可以就此问题发表看法。他指出,历史上人们曾担忧在 VFS 的多个位置添加

相关文章:

  • 通过docker create与export来分析诊断故障镜像
  • 8 编程笔记全攻略:Markdown 语法精讲、Typora 编辑器全指南(含安装激活、基础配置、快捷键详解、使用技巧)
  • day46——两数之和-输入有序数组(LeetCode-167)
  • PHP怎样连接MySQL数据库?
  • python函数之间嵌套使用yield
  • sqli-labs之Less-7 GET注入写shell
  • CPU与GPU之间的交互
  • 【C++】新手入门指南(上)
  • Linux-进度条小程序
  • webpack 中 chunks详解
  • 论文降重GPT指令-实侧有效从98%降低到8%
  • SQL注入相关知识
  • 【解决】torch引入过程中的ImportError: __nvJitLinkAddData_12_1, version libnvJitLink.so.12
  • 阿里云Clickhouse 冷热数据分层存储 实战记录
  • 递归下降 ll(1) 型文法 识别二元组文法分析
  • 从零开始学习 Lucene.Net:.NET Core 中的全文搜索与索引管理
  • [密码学基础]GMT 0002-2012 SM4分组密码算法 技术规范深度解析
  • Windows系统C盘深度清理指南
  • 指令与权限
  • 基于大语言模型的自动化单元测试生成系统及测试套件评估方法
  • 宁波市纪委监委通报4起违反中央八项规定精神典型问题
  • 中老铁路跨境国际旅客突破50万人次
  • 节前A股持续震荡,“五一”假期持股还是持币过节胜率更高?
  • 78家公募年度业绩比拼:23家营收净利双升,十强座次微调
  • 费高云调研党的建设工作:营造风清气正劲足的政治生态
  • 新一届中国女排亮相,奥运冠军龚翔宇担任队长