Daniel Xu

Results 424 comments of Daniel Xu

Interesting. Can you try running with `-kk` flag and share the output? I expect there should be a lot of warnings about -EFAULT errors - that's expected. But curious if...

Can you try with this diff? ```diff diff --git a/tools/execsnoop.bt b/tools/execsnoop.bt index d79027d3..1deaed26 100755 --- a/tools/execsnoop.bt +++ b/tools/execsnoop.bt @@ -28,5 +28,6 @@ tracepoint:syscalls:sys_enter_exec* { $task = (struct task_struct *)curtask; printf("%15s...

> P.S. - sometimes I get multiple exits per process this way and sometimes I get a fork without an exit even though ps shows that a process is no...

(Traveling today so on phone) On Wed, Aug 7, 2024, at 7:21 PM, Zach Mitchell wrote: >> Can you try with this diff? >> > Here we go: > >...

Interesting. I suppose you at least have a workaround for now. But it's odd join() doesn't work. TBH I don't think join() is even that useful - we have enough...

> Is there a way to get the number of args? I haven't found that yet. My guess is the first NULL in `args.argv` means there are no more arguments....

Regarding block scoping and let, agreed, tricky to separate the two. However, in my opinion, fixing block scoping is not an urgent issue. It would be preferable to ensure we...

Agreed. Let's keep unstable gates out of var decls and block scoping. Moving forward there are some much more obvious places to apply unstable gates.

Is it necessary to have a new `printb()` builtin? I realize we can dump structs using `print()` today so there's symmetry with `printb()`, but I wonder if it's better to...