权限拒绝写入/ sys / kernel / debug / tracing / events / kmem / kmalloc / trigger

时间:2015-01-19 07:19:02

标签: linux debugging linux-kernel sudo trace

我正在尝试在Ubuntu计算机上运行以下命令

root@manav-R761-c:/# ls -la  /sys/kernel/debug/tracing/events/kmem/kmalloc/trigger
ls: cannot access /sys/kernel/debug/tracing/events/kmem/kmalloc/trigger: No such file or directory
root@manav-R761-c:/#
root@manav-R761-c:/# echo 'hash:stacktrace:bytes_req,bytes_alloc' > /sys/kernel/debug/tracing/events/kmem/kmalloc/trigger
bash: /sys/kernel/debug/tracing/events/kmem/kmalloc/trigger: Permission denied

我以root身份登录,为什么我无法创建触发器文件并写入?

0 个答案:

没有答案