sys_enter_openat
我为系统调用启用了 ftrace 事件跟踪。给出的相应输出格式events/syscalls/sys_enter_openat/format
为
print fmt: "dfd: 0x%08lx, filename: 0x%08lx, flags: 0x%08lx, mode: 0x%08lx", ((unsigned long)(REC->dfd)), ((unsigned long)(REC->filename)), ((unsigned long)(REC->flags)), ((unsigned long)(REC->mode))
正如预期的那样,ftrace 的示例输出行类似于
msm_irqbalance-1338 [000] ...1 211710.033931: sys_openat(dfd: ffffff9c, filename: 5af693f224, flags: 2, mode: 0)
有没有办法改变输出格式,filename: 5af693f224
以便显示为filename: <string>
而不是地址?我想这本来可以使用systemtap
orkrpobe
但我的设置现在不允许使用它。