Alastair Robertson

Results 63 issues of Alastair Robertson

See integration test `enums.anonymous` and `typedefs.anonymous`

A Thrift struct such as: ``` struct MyThriftStruct { 1: optional i32 a; 2: optional i32 b; } ``` Will get translated into a C++ struct such as: ``` struct...

enhancement

See tests at https://github.com/facebookexperimental/object-introspection/blob/main/test/integration/alignment.toml We normally deal with alignment by adding explicit padding members to structs. However, this does not work for containers, where we do not control padding ourselves....

bug
codegen

It currently doesn't work due to the dependence on unqualified type names in resolving drgn types. e.g. this setup: ``` namespace nsA { class MyClass { public: virtual void myfunc()...

bug
codegen

Similar to how "cli_options" applies to OID integration tests, we should have a way of specifying custom options for OIL tests.

testing

### Issue As found by @mouadk in and mentioned in his blog post: https://www.deep-kondah.com/ebpf-library-profiling/. [Original repro](https://github.com/mouadk/library-profiling/blob/e3af4a4389457aa95384ad6ca19c92d09b9a9a7f/bpftrace/sandbox/generated_sandbox.bt). Simplified repro, the compilation time appears to scale quadratically with the number of lines...

bug

This has been a long time coming - I presented it at eBPF Summit 2023 - but it's finally ready! This fixes `pid`, `tid` and `ustack` when running bpftrace inside...

``` Print unsigned integers as "uintX" instead of "unsigned intX" This matches the BpfScript syntax and cleans up error messages and AST debug output. ``` ``` Printer: Print types of...

### Is your feature request related to a problem? Please describe. There are two problems I'm trying to solve here: - Allow for setting config options individually for each probe....

enhancement
RFC
language

Introduce a new class `ref` which holds references / non-nullable pointers. ----- This'll cause **a lot** of conflicts so I'm happy to rebase other PRs on top of these changes...