Commit 1ac56bde authored by CavemanWork's avatar CavemanWork Committed by GitHub

Lesson 9: Replace "stack" to "kstack".

Fix warning issue for Lesson 9: the stack is deprecated and will be removed in the future. Use kstack instead
parent 5d50070d
......@@ -190,7 +190,7 @@ Count process-level events for five seconds, printing a summary.
# Lesson 9. Profile On-CPU Kernel Stacks
```
# bpftrace -e 'profile:hz:99 { @[stack] = count(); }'
# bpftrace -e 'profile:hz:99 { @[kstack] = count(); }'
Attaching 1 probe...
^C
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment