Jordan Rome
Jordan Rome
I feel like we might have closed this too aggressively. @aaliyahnl Any desire to continue work on this? If not, I'll hand it off.
> Another alternative might be to pass an additional argument to print() to choose how to format ints for that call only? I had this thought as well but map...
> what if we introduced named arguments Yes, love this idea. I think we should try to generally move in this direction. Positional arguments often end up being just a...
@amscanne Agreed. Closing in favor of: https://github.com/bpftrace/bpftrace/issues/26
https://github.com/bpftrace/bpftrace/pull/4101
Echoing @viktormalik - I like this in theory but it really depends on the feature and how easily it can be separated. Even if we didn't want to sprinkle the...
@danobi and I chatted offline about this a bit. In regards to var decl semantics, I think the trickiest part is not the variable declaration but rather the type resolution,...
We have started to use this for map declarations and the new import syntax. It's also in our repo docs.
In bcc it looks like they walk up the current task's dentry in kernel space: https://github.com/iovisor/bcc/commit/c110a4dd0c8f8e15e3107f3a0807683a81657cbf#diff-7e530bfb3b516e09e3747909a2e21b8ae66651315b1930ee144a5a9f82e749a8 - we could probably do something similar. bpftrace has `path` but `struct path` doesn't...
Making a little progress but I'm trying to find an easy way to do the concat and reverse: ``` tracepoint:syscalls:sys_enter_open, tracepoint:syscalls:sys_enter_openat { $task = (struct task_struct *)curtask; $dentry = (struct...