Shuyi Cheng

Results 7 comments of Shuyi Cheng

``` diff --git a/build-release.sh b/build-release.sh index 2029c588..cd5c93d2 100755 --- a/build-release.sh +++ b/build-release.sh @@ -1,3 +1,3 @@ #!/bin/bash set -eu -docker run --network host --rm -it -u $(id -u):$(id -g) -v...

> @jordalgo if you're interested, this project is something we could fairly trivially parallelize. AOT has been a long requested feature -- many folks have told me they don't use...

Hi, are there any plans to merge this PR? I look forward to using this feature. Thanks.

> This seems closely related to https://github.com/iovisor/bpftrace/issues/1834. That one also suggest to use the bpf_snprintf_btf helper which produces practically the same output as your implementation here. In addition, it doesn't...

> Using printf is also acceptable. We can convert it into a string through other builtins, such as `printf("%s", btf(skb));`. Or, we can use something like `{:?}` in rust. However,...

Now printf uses stack memory, do we need to change printf to use percpu map memory first? Because the stack memory is only 512 bytes, it is definitely not enough.

> This works as expected, as there's no standard way of getting the amount of heap memory used by an arbitrary `T`. If you want to also count the heap...