Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One-liner tutorial: add note on args access change
PR bpftrace#2578 changed the way args fields are accessed. Since then, it is recommended to use `args.xxx` instead of `args->xxx` which is also reflected in the one-liner tutorial. As many distros still have older versions of bpftrace, people keep stumbling on one-liner tutorial commands throwing errors about `args.xxx` not being a correct expression. Add a note to the one-liner tutorial which highlights this change and warns people to use `args->xxx` for older versions of bpftrace.
- Loading branch information