Daniel Xu

Results 63 issues of Daniel Xu

This PR adds support for large arguments. Namely: you can now `printf()` and `print()` big strings/buffers. With this, we can raise the default on `BPFTRACE_MAX_STRLEN` from 64 -> 1024 without...

do-not-merge

### Is your feature request related to a problem? Please describe. #3228 adds initial support for big strings. With it, users can go up to 1024B wide string. The 1024B...

enhancement
RFC
language
difficulty: medium

CI currently runs most of the tests in release mode. We and LLVM both have a lot of asserts. They get compiled out on release mode. We should test in...

bug
ci

The codebase does a lot of string processing. So far, we have a mix of: * Inefficient string concat (eg. `std::string("hello") + " world" + " !"`) which is really...

enhancement
build

init.sh hardcodes a standard PATH: https://github.com/danobi/vmtest/blob/5c08c6fd3d9ecad052312d79657e758bbb891287/src/init/init.sh#L18 This works fine most of the time, but not for nix/nixos b/c there's nothing except bash inside standard PATH. init.sh should inherit host PATH....

### Is your feature request related to a problem? Please describe. Right now values returned by `path()` are all sized to BPFTRACE_MAX_STRLEN. This is bad in the big string world...

enhancement

This PR teaches CI how to run tests under different and tightly controlled kernels. Under the hood it uses vmtest. More details about vmtest can be found here: * https://github.com/danobi/vmtest...

### Is your feature request related to a problem? Please describe. In the past year or so we've been aggressively adding new features to bpftrace. It's becoming more clear we...

enhancement
RFC

### Is your feature request related to a problem? Please describe. We recently held an in-person hands on lab for teaching bpftrace. As part of that, I was collecting first...

enhancement
good first issue
discussion-needed

This PR allows the user to symbolize enums in userspace by using `%s` printf() specifier. This is a fully backwards compatible change, as trying to use `%s` on an enum...