Temporary header file '/tmp/i2DM0GxcTP/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _TIME_BITS 64 #define _FILE_OFFSET_BITS 64 #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/bcc/BPF.h" #include "/usr/include/bcc/BPFTable.h" #include "/usr/include/bcc/bcc_common.h" #include "/usr/include/bcc/bcc_elf.h" #include "/usr/include/bcc/bcc_exception.h" #include "/usr/include/bcc/bcc_proc.h" #include "/usr/include/bcc/bcc_syms.h" #include "/usr/include/bcc/bcc_usdt.h" #include "/usr/include/bcc/bcc_version.h" #include "/usr/include/bcc/bpf_module.h" #include "/usr/include/bcc/file_desc.h" #include "/usr/include/bcc/libbpf.h" #include "/usr/include/bcc/perf_reader.h" #include "/usr/include/bcc/table_desc.h" #include "/usr/include/bcc/table_storage.h" // add namespaces namespace clang{typedef int tmp_add_type_1;} clang::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace ebpf{typedef int tmp_add_type_2;} ebpf::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace ebpf{namespace error{typedef int tmp_add_type_3;}} ebpf::error::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace llvm{typedef int tmp_add_type_4;} llvm::tmp_add_type_4 tmp_add_func_4(){return 0;}; // add classes _G_fpos64_t* tmp_add_class_0; _G_fpos_t* tmp_add_class_1; _IO_cookie_io_functions_t* tmp_add_class_2; bcc_create_map_attr* tmp_add_class_3; bcc_elf_usdt* tmp_add_class_4; bcc_perf_buffer_opts* tmp_add_class_5; bcc_symbol* tmp_add_class_6; bcc_symbol_option* tmp_add_class_7; bcc_usdt* tmp_add_class_8; bcc_usdt_argument* tmp_add_class_9; bcc_usdt_location* tmp_add_class_10; bpf_attr* tmp_add_class_11; bpf_btf_info* tmp_add_class_12; bpf_cgroup_dev_ctx* tmp_add_class_13; bpf_cgroup_storage_key* tmp_add_class_14; bpf_core_relo* tmp_add_class_15; bpf_cpumap_val* tmp_add_class_16; bpf_devmap_val* tmp_add_class_17; bpf_dynptr* tmp_add_class_18; bpf_fib_lookup* tmp_add_class_19; bpf_flow_keys* tmp_add_class_20; bpf_func_info* tmp_add_class_21; bpf_insn* tmp_add_class_22; bpf_iter_link_info* tmp_add_class_23; bpf_line_info* tmp_add_class_24; bpf_link_info* tmp_add_class_25; bpf_lpm_trie_key* tmp_add_class_26; bpf_map_info* tmp_add_class_27; bpf_perf_event_value* tmp_add_class_28; bpf_pidns_info* tmp_add_class_29; bpf_prog_info* tmp_add_class_30; bpf_raw_tracepoint_args* tmp_add_class_31; bpf_redir_neigh* tmp_add_class_32; bpf_sk_lookup* tmp_add_class_33; bpf_sock* tmp_add_class_34; bpf_sock_addr* tmp_add_class_35; bpf_sock_ops* tmp_add_class_36; bpf_sock_tuple* tmp_add_class_37; bpf_sockopt* tmp_add_class_38; bpf_spin_lock* tmp_add_class_39; bpf_stack_build_id* tmp_add_class_40; bpf_sysctl* tmp_add_class_41; bpf_tcp_sock* tmp_add_class_42; bpf_timer* tmp_add_class_43; bpf_tunnel_key* tmp_add_class_44; bpf_xdp_sock* tmp_add_class_45; bpf_xfrm_state* tmp_add_class_46; btf_ptr* tmp_add_class_47; epoll_data* tmp_add_class_48; epoll_event* tmp_add_class_49; mod_info* tmp_add_class_50; sk_msg_md* tmp_add_class_51; sk_reuseport_md* tmp_add_class_52; xdp_md* tmp_add_class_53; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/i2DM0GxcTP/dump1.h"