Merge pull request #23137 from wxy/20210727-Analyze-the-Linux-kernel-with-ftrace

PRF:published/20210727 Analyze the Linux kernel with ftrace.md
This commit is contained in:
Xingyu.Wang 2021-09-05 15:42:45 +08:00 committed by GitHub
commit b3c4ddacd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ function
$ sudo cat current_tracer
function
$ sudo echo nop > current_tracer
$ sudo echo nop > current_tracer
$ sudo cat current_tracer
nop
@ -167,7 +167,7 @@ nop
现在尝试第二个名为 `function_graph` 的追踪器。你可以使用和上面相同的步骤:在 `current_tracer` 文件中写入 `function_graph`
```
$ sudo echo function_graph > current_tracer
$ sudo echo function_graph > current_tracer
$ sudo cat current_tracer
function_graph