Aman Karmani
Aman Karmani
if i use host tooling it also fails: ``` ❯ apt install bpfcc-tools ❯ execsnoop-bpfcc Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing the kernel...
part of the issue is i don't know how to get headers for the 6.10 kernel ``` ❯ dctl search linuxHeaders linuxHeaders 6.9 Header files and scripts for Linux kernel...
OK, this worked: ``` ❯ mkdir -p /run/booted-system/kernel-modules/lib/modules/6.10.11-orbstack-00280-g1304bd068592/build ❯ dctl install xz ❯ tar Jxvf /sys/kernel/kheaders.tar.xz ❯ dctl install bcc ❯ execsnoop PCOMM PID PPID RET ARGS wormhole-attach 416504 335...
Thanks! Can't believe it was as easy as installing `xz` 😆 I am trying `ddprof` but its running into a ENOIMPL somewhere? https://docs.datadoghq.com/profiler/profiler_troubleshooting/ddprof/ ``` ❯ /ddprof/bin/ddprof -p 8 Sep 30...
I also tried ebpf-profiler, but it seems to have an issue where it doesn't work inside containers. https://github.com/open-telemetry/opentelemetry-ebpf-profiler/issues/170
[samply](https://github.com/mstange/samply) uses perf and works inside orbstack!
> I also tried ebpf-profiler, but it seems to have an issue where it doesn't work inside containers. > > [open-telemetry/opentelemetry-ebpf-profiler#170](https://github.com/open-telemetry/opentelemetry-ebpf-profiler/issues/170) Does orbstack support `--pid=host`?
is it possible to use perf in an `orb machine`? ``` ⬢ [Systemd] ❯ perf top WARNING: perf not found for kernel 6.11.5-orbstack You may need to install the following...
thanks @tridao, and sorry for the dumb questions. i see now that the order of the nodes in the print output is not relevant, as the code dictates how they're...
I've been comparing `torch.nn.CrossEntropyLoss` vs `flash_attn.losses.cross_entropy.CrossEntropyLoss`, but am not able to measure any memory or speed difference between the two.