update original tutorial link

This commit is contained in:
yunwei37
2024-01-17 20:56:47 +00:00
parent 077581e064
commit ac97ed95c4
2 changed files with 6 additions and 2 deletions

View File

@@ -319,4 +319,6 @@ open path: retrans_time_ms
bpftrace对内核结构跟踪的支持和bcc是一样的允许使用内核头文件。这意味着大多数结构是可用的但是并不是所有的有时需要手动增加某些结构的声明。例如这个例子见[dcsnoop tool](https://github.com/iovisor/bpftrace/blob/master/docs/../tools/dcsnoop.bt)包含struct nameidata的声明。倘若内核有提供BTF数据则所有结构都可用。
现在你已经理解了bpftrace的大部分功能你可以开始使用和编写强大的一行命令。查阅[参考手册](https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md)更多的功能。
现在你已经理解了bpftrace的大部分功能你可以开始使用和编写强大的一行命令。查阅[参考手册](https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md)更多的功能。
> 原文地址https://github.com/iovisor/bpftrace/blob/master/docs

View File

@@ -323,4 +323,6 @@ This uses kernel dynamic tracing of the vfs_open() function, which has a (struct
The kernel struct support is the same as bcc, making use of kernel headers. This means that many structs are available, but not everything, and sometimes it might be necessary to manually include a struct. For an example of this, see the [dcsnoop tool](https://github.com/iovisor/bpftrace/blob/master/docs/../tools/dcsnoop.bt), which includes a portion of struct nameidata manually as it wasn't in the available headers. If the kernel has BTF data, all kernel structs are always available.
At this point you understand much of bpftrace, and can begin to use and write powerful one-liners. See the [Reference Guide](https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md) for more capabilities.
At this point you understand much of bpftrace, and can begin to use and write powerful one-liners. See the [Reference Guide](https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md) for more capabilities.
> The original tutorial link: https://github.com/iovisor/bpftrace/blob/master/docs/