Daniel Xu

Results 427 comments of Daniel Xu

Also another bit of fix-later feedback: ``` sudo ./build/src/bpftrace -e 'fn foo(): void { return; }' No probes to attach $ sudo ./build/src/bpftrace -e 'fn foo() { return; }' stdin:1:10-11:...

In theory you should be able to `nix build .#appimage` on aarch64 and get a "static" binary (technically an appimage): https://github.com/iovisor/bpftrace/blob/master/docs/nix.md#build-bpftrace-as-a-statically-linked-binary But I don't have an aarch64 machine handy. Mind...

I wouldn't say it's easy :p. One of the deps we override triggers a systemd rebuild so it would probably take like 12 hours to do that under emulation. Also...

Hi @meox , sorry I forgot to respond :p. Nope, lgtm. I'll put it on my todo list to upload arm binaries -- it'll take a little tweaking in the...

I took a closer look and it seems like we cannot get access to an ARM runner without paying one way or another: * https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/ * https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/ TBH, if we're...

> However, there is additional complexity with this b/c we need to set up a percpu map to use as scratch space for bpf_get_stack() to write into I think we...

I would like to take a look but I'll be busy until ~Tuesday.

> I am thinking that it might be useful to have a "strict mode" which prints errors at runtime if a program attempts to read from an undefined map (it...

Upfront map definitions sounds useful. But perhaps would be good to think about if we can soundly determine map types in all cases. If it's not possible, I think it's...

I vote to remove vendored gtest option :)