Michał Gregorczyk

Results 4 comments of Michał Gregorczyk

Hi all. Thanks to @anakryiko [libbpf already has some logic to determine whether to use debugfs or not](https://github.com/libbpf/libbpf/blob/master/src/libbpf.c#L9908) and I opened pull requests to mirror it in [bpftrace](https://github.com/iovisor/bpftrace/pull/2351) and [bcc](https://github.com/iovisor/bcc/pull/4216).

Hi, This is a great suggestion, thanks. Having to update modules manually is a pain. I don't know how to build the wifi driver not as a standalone module, but...

You can point BCC and bpftrace to the right directory by setting these env variables: - [BCC_KERNEL_SOURCE](https://github.com/iovisor/bcc/blob/master/docs/reference_guide.md#1-kernel-source-directory) - [BPFTRACE_KERNEL_SOURCE](https://github.com/iovisor/bpftrace/blob/master/docs/reference_guide.md#2-kernel-headers-not-found)

I think I would break this task into the following PRs: 1. Generate [`NewType`](https://docs.python.org/3/library/typing.html#newtype)s corresponding to values of `PrimitiveType` enum. It will be a good idea to keep different kinds...