使用uftrace跟踪bpf程序的执行
作者
pengdonglin137@163.com
正文
uftrace专门用来跟踪用户态的C/C++以及Rust程序的执行,此外它也支持跟踪内核函数。
前一篇文章bpf_func_id是如何产生的?是以minimal为例,下面用uftrace跟踪一下执行流。为了可以让uftrace更好的工作,需要对Makefile稍加修改,给GCC加入-pg编译选项,用GCC编译的程序是bpf的用户态程序以及libbpf库,此外,libbpf默认使用的是-O2编译优化等级,有些函数会被内敛掉,对于分析跟踪日志有些不便,可以改成-O0,下面是修改方法:
对examples/c/Makefile的修改
diff --git a/examples/c/Makefile b/examples/c/Makefile
index 736750e..dca492e 100644
--- a/examples/c/Makefile
+++ b/examples/c/Makefile
@@ -21,7 +21,7 @@ VMLINUX := ../../vmlinux/$(ARCH)/vmlinux.h
# libbpf to avoid dependency on system-wide headers, which could be missing or
# outdated
INCLUDES := -I$(OUTPUT) -I../../libbpf/include/uapi -I$(dir $(VMLINUX)) -I$(LIBBLAZESYM_INC)
-CFLAGS := -g -Wall
+CFLAGS := -g -O0 -Wall -pg
ALL_LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS)
对libbpf的修改
diff --git a/src/Makefile b/src/Makefile
index 35c5724..1b95a6e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -34,7 +34,7 @@ ALL_CFLAGS := $(INCLUDES)
SHARED_CFLAGS += -fPIC -fvisibility=hidden -DSHARED
-CFLAGS ?= -g -O2 -Werror -Wall -std=gnu89
+CFLAGS ?= -g -pg -O0 -Werror -Wall -std=gnu89
ALL_CFLAGS += $(CFLAGS) \
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-Wno-unknown-warning-option -Wno-format-overflow \
修改完毕后,clean掉然后重新编译。
用uftrace进行跟踪,同时-a开启自动探测函数参数以及返回值的功能:
# uftrace record -a --no-event ./minimal
# uftrace replay
下面是输出的日志:
minimal程序的跟踪日志
# DURATION TID FUNCTION
[ 5308] | main(1, 0x7ffd6e057aa8) {
0.291 us [ 5308] | libbpf_set_print(&libbpf_print_fn) = &__base_pr;
[ 5308] | minimal_bpf__open() {
[ 5308] | minimal_bpf__open_opts(0) {
0.511 us [ 5308] | calloc(1, 56) = 0x55a877e7ba60;
[ 5308] | minimal_bpf__create_skeleton(0x55a877e7ba60) {
4.629 us [ 5308] | calloc(1, 72) = 0x55a877e7baa0;
0.170 us [ 5308] | calloc(2, 24) = 0x55a877e7baf0;
0.151 us [ 5308] | calloc(1, 24) = 0x55a877e7bb30;
0.180 us [ 5308] | minimal_bpf__elf_bytes(0x55a877e7bab8) = &data.6285;
6.382 us [ 5308] | } = 0; /* minimal_bpf__create_skeleton */
[ 5308] | bpf_object__open_skeleton(0x55a877e7baa0, 0) {
0.371 us [ 5308] | memset(0x7ffd6e057880, 0, 80);
[ 5308] | bpf_object__open_mem(&data.6285, 2040, 0x7ffd6e057880) {
[ 5308] | bpf_object_open("NULL", &data.6285, 2040, 0x7ffd6e057880) {
0.250 us [ 5308] | elf_version();
[ 5308] | libbpf_validate_opts("P", 76, 80, "bpf_object_open_opts") {
0.741 us [ 5308] | libbpf_is_mem_zeroed("", 4) = 1;
364.935 us [ 5308] | } = 1; /* libbpf_validate_opts */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: loading object '%s' from buffer\n") {
0.140 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: loading object '%s' from buffer\n", 0x7ffd6e057690) {
383.519 us [ 5308] | vfprintf();
384.611 us [ 5308] | } = 49; /* libbpf_print_fn */
0.150 us [ 5308] | __errno_location();
387.376 us [ 5308] | } /* libbpf_print */
[ 5308] | bpf_object__new("minimal_bpf", &data.6285, 2040, "minimal_bpf") {
0.531 us [ 5308] | strlen("minimal_bpf") = 11;
0.481 us [ 5308] | calloc(1, 428) = 0x55a877e7cbd0;
0.301 us [ 5308] | strcpy(0x55a877e7cd70, "minimal_bpf");
0.271 us [ 5308] | libbpf_strlcpy("", "minimal_bpf", 16);
[ 5308] | get_kernel_version() {
[ 5308] | get_ubuntu_kernel_version() {
353.161 us [ 5308] | faccessat();
354.475 us [ 5308] | } = 0; /* get_ubuntu_kernel_version */
1.864 us [ 5308] | uname();
[ 5308] | get_debian_kernel_version(0x7ffd6e057590) {
1.183 us [ 5308] | strstr("#17 SMP PREEMPT_DYNAMIC Sun Oct 29 01:11:05 PDT 2023", "Debian ") = "NULL";
2.084 us [ 5308] | } = 0; /* get_debian_kernel_version */
2.715 us [ 5308] | __isoc99_sscanf();
368.680 us [ 5308] | } = 0x60500; /* get_kernel_version */
1.106 ms [ 5308] | } = 0x55a877e7cbd0; /* bpf_object__new */
0.230 us [ 5308] | IS_ERR(0x55a877e7cbd0) = 0x55a877e7cb00;
[ 5308] | bpf_object__elf_init(0x55a877e7cbd0) {
1.122 us [ 5308] | elf_memory();
0.101 us [ 5308] | elf_kind();
0.070 us [ 5308] | gelf_getclass();
0.261 us [ 5308] | elf64_getehdr();
0.101 us [ 5308] | elf_getshdrstrndx();
0.280 us [ 5308] | elf_getscn();
0.380 us [ 5308] | elf_rawdata();
3.707 us [ 5308] | } = 0; /* bpf_object__elf_init */
0.170 us [ 5308] | bpf_object__check_endianness(0x55a877e7cbd0) = 0;
[ 5308] | bpf_object__elf_collect(0x55a877e7cbd0) {
0.241 us [ 5308] | elf_getshdrnum();
0.652 us [ 5308] | calloc(10, 24) = 0x55a877e7d6c0;
0.141 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7cf38) {
0.210 us [ 5308] | elf64_getshdr();
0.662 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
0.080 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d008) {
0.070 us [ 5308] | elf64_getshdr();
0.351 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_data(0x55a877e7cbd0, 0x55a877e7d008) {
0.360 us [ 5308] | elf_getdata();
0.722 us [ 5308] | } = 0x55a877e7d008; /* elf_sec_data */
0.070 us [ 5308] | elf_ndxscn();
0.070 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d0d8) {
0.070 us [ 5308] | elf64_getshdr();
0.290 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
0.071 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d1a8) {
0.060 us [ 5308] | elf64_getshdr();
0.290 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
0.070 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d278) {
0.070 us [ 5308] | elf64_getshdr();
0.290 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
0.070 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d348) {
0.070 us [ 5308] | elf64_getshdr();
0.291 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
0.060 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d418) {
0.071 us [ 5308] | elf64_getshdr();
0.291 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
0.070 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d4e8) {
0.071 us [ 5308] | elf64_getshdr();
0.291 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
0.070 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d5b8) {
0.070 us [ 5308] | elf64_getshdr();
0.281 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
0.080 us [ 5308] | elf_nextscn();
0.311 us [ 5308] | elf_nextscn();
0.100 us [ 5308] | elf_ndxscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7cf38) {
0.140 us [ 5308] | elf64_getshdr();
0.882 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 1) {
0.541 us [ 5308] | elf_strptr();
0.982 us [ 5308] | } = ".strtab"; /* elf_sec_str */
0.271 us [ 5308] | ignore_elf_section(&data.6285, ".strtab") = 1;
0.111 us [ 5308] | elf_nextscn();
0.090 us [ 5308] | elf_ndxscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d008) {
0.080 us [ 5308] | elf64_getshdr();
0.421 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 9) {
0.110 us [ 5308] | elf_strptr();
0.450 us [ 5308] | } = ".symtab"; /* elf_sec_str */
[ 5308] | ignore_elf_section(&data.6285, ".symtab") {
[ 5308] | is_sec_name_dwarf(".symtab") {
419.702 us [ 5308] | strncmp(".symtab", ".debug_", 7) = 15;
432.725 us [ 5308] | } = 0; /* is_sec_name_dwarf */
0.641 us [ 5308] | strncmp(".symtab", ".rel", 4) = 1;
434.740 us [ 5308] | } = 0; /* ignore_elf_section */
[ 5308] | elf_sec_data(0x55a877e7cbd0, 0x55a877e7d008) {
0.231 us [ 5308] | elf_getdata();
0.882 us [ 5308] | } = 0x55a877e7d008; /* elf_sec_data */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n") {
0.071 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", 0x7ffd6e057610) {
58.413 us [ 5308] | vfprintf();
59.214 us [ 5308] | } = 67; /* libbpf_print_fn */
0.090 us [ 5308] | __errno_location();
61.158 us [ 5308] | } /* libbpf_print */
0.702 us [ 5308] | strcmp(".symtab", "license") = -62;
0.140 us [ 5308] | strcmp(".symtab", "version") = -72;
0.140 us [ 5308] | strcmp(".symtab", "maps") = -63;
592.388 us [ 5308] | strcmp(".symtab", ".maps") = 6;
0.852 us [ 5308] | strcmp(".symtab", ".BTF") = 49;
0.200 us [ 5308] | strcmp(".symtab", ".BTF.ext") = 49;
0.361 us [ 5308] | elf_nextscn();
0.080 us [ 5308] | elf_ndxscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d0d8) {
0.150 us [ 5308] | elf64_getshdr();
0.771 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 17) {
0.481 us [ 5308] | elf_strptr();
0.922 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* elf_sec_str */
[ 5308] | ignore_elf_section(&data.6285, "tp/syscalls/sys_enter_write") {
[ 5308] | is_sec_name_dwarf("tp/syscalls/sys_enter_write") {
0.321 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", ".debug_", 7) = 70;
0.791 us [ 5308] | } = 0; /* is_sec_name_dwarf */
0.170 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", ".rel", 4) = 70;
1.643 us [ 5308] | } = 0; /* ignore_elf_section */
[ 5308] | elf_sec_data(0x55a877e7cbd0, 0x55a877e7d0d8) {
0.511 us [ 5308] | elf_getdata();
0.871 us [ 5308] | } = 0x55a877e7d0d8; /* elf_sec_data */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n") {
0.070 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", 0x7ffd6e057610) {
174.658 us [ 5308] | vfprintf();
175.329 us [ 5308] | } = 87; /* libbpf_print_fn */
0.120 us [ 5308] | __errno_location();
176.952 us [ 5308] | } /* libbpf_print */
0.521 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "license") = 8;
0.150 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "version") = -2;
0.140 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "maps") = 7;
0.170 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", ".maps") = 70;
0.280 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", ".BTF") = 70;
0.261 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", ".BTF.ext") = 70;
0.151 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", ".text") = 70;
[ 5308] | bpf_object__add_programs(0x55a877e7cbd0, 0x55a877e7d0d8, "tp/syscalls/sys_enter_write", 3) {
0.271 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 0) = &data.6285;
0.140 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 1) = &data.6285;
0.101 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 2) = &data.6285;
0.100 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 3) = &data.6285;
0.091 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 4) = &data.6285;
0.130 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 5) = &data.6285;
0.091 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 6) = &data.6285;
[ 5308] | elf_sym_str(0x55a877e7cbd0, 105) {
0.471 us [ 5308] | elf_strptr();
1.222 us [ 5308] | } = "handle_tp"; /* elf_sym_str */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: sec '%s': found program '%s' at insn offset %zu (%zu bytes), code size %zu insns (%zu b...") {
0.171 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: sec '%s': found program '%s' at insn offset %zu (%zu bytes), code size %zu insns (%zu b...", 0x7ffd6e057580) {
50.947 us [ 5308] | vfprintf();
52.109 us [ 5308] | } = 128; /* libbpf_print_fn */
0.080 us [ 5308] | __errno_location();
343.455 us [ 5308] | } /* libbpf_print */
[ 5308] | libbpf_reallocarray(0, 1, 200) {
0.822 us [ 5308] | realloc(0, 200) = 0x55a877ce0ee0;
1.935 us [ 5308] | } = 0x55a877ce0ee0; /* libbpf_reallocarray */
[ 5308] | bpf_object__init_prog(0x55a877e7cbd0, 0x55a877ce0ee0, "handle_tp", 3, "tp/syscalls/sys_enter_write", 0, &data.6285, 104) {
0.331 us [ 5308] | memset(0x55a877ce0ee0, 0, 200);
1.082 us [ 5308] | strdup("tp/syscalls/sys_enter_write") = "tp/syscalls/sys_enter_write";
0.190 us [ 5308] | strdup("handle_tp") = "handle_tp";
0.501 us [ 5308] | malloc(104) = 0x55a877d4af60;
0.271 us [ 5308] | memcpy(0x55a877d4af60, &data.6285, 104);
16.271 us [ 5308] | } = 0; /* bpf_object__init_prog */
0.160 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 7) = &data.6285;
0.101 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 8) = &data.6285;
369.606 us [ 5308] | } = 0; /* bpf_object__add_programs */
0.140 us [ 5308] | elf_nextscn();
0.070 us [ 5308] | elf_ndxscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d1a8) {
0.131 us [ 5308] | elf64_getshdr();
0.561 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 45) {
0.250 us [ 5308] | elf_strptr();
0.601 us [ 5308] | } = "license"; /* elf_sec_str */
[ 5308] | ignore_elf_section(&data.6285, "license") {
[ 5308] | is_sec_name_dwarf("license") {
0.280 us [ 5308] | strncmp("license", ".debug_", 7) = 62;
0.712 us [ 5308] | } = 0; /* is_sec_name_dwarf */
0.160 us [ 5308] | strncmp("license", ".rel", 4) = 62;
1.392 us [ 5308] | } = 0; /* ignore_elf_section */
[ 5308] | elf_sec_data(0x55a877e7cbd0, 0x55a877e7d1a8) {
0.361 us [ 5308] | elf_getdata();
0.691 us [ 5308] | } = 0x55a877e7d1a8; /* elf_sec_data */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n") {
0.070 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", 0x7ffd6e057610) {
4.138 us [ 5308] | vfprintf();
4.569 us [ 5308] | } = 66; /* libbpf_print_fn */
0.061 us [ 5308] | __errno_location();
5.521 us [ 5308] | } /* libbpf_print */
0.241 us [ 5308] | strcmp("license", "license") = 0;
[ 5308] | bpf_object__init_license(0x55a877e7cbd0, &data.6285, 13) {
0.341 us [ 5308] | libbpf_strlcpy("", "Dual BSD/GPL", 14);
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: license of %s is %s\n") {
0.070 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: license of %s is %s\n", 0x7ffd6e0575d0) {
2.345 us [ 5308] | vfprintf();
2.635 us [ 5308] | } = 47; /* libbpf_print_fn */
0.071 us [ 5308] | __errno_location();
3.347 us [ 5308] | } /* libbpf_print */
4.519 us [ 5308] | } = 0; /* bpf_object__init_license */
0.070 us [ 5308] | elf_nextscn();
0.070 us [ 5308] | elf_ndxscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d278) {
0.070 us [ 5308] | elf64_getshdr();
0.331 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 53) {
0.090 us [ 5308] | elf_strptr();
0.341 us [ 5308] | } = ".bss"; /* elf_sec_str */
[ 5308] | ignore_elf_section(&data.6285, ".bss") {
[ 5308] | is_sec_name_dwarf(".bss") {
0.160 us [ 5308] | strncmp(".bss", ".debug_", 7) = -2;
0.461 us [ 5308] | } = -256; /* is_sec_name_dwarf */
0.141 us [ 5308] | strncmp(".bss", ".rel", 4) = -16;
1.042 us [ 5308] | } = 0; /* ignore_elf_section */
[ 5308] | elf_sec_data(0x55a877e7cbd0, 0x55a877e7d278) {
0.201 us [ 5308] | elf_getdata();
0.451 us [ 5308] | } = 0x55a877e7d278; /* elf_sec_data */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n") {
0.060 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", 0x7ffd6e057610) {
2.625 us [ 5308] | vfprintf();
2.946 us [ 5308] | } = 62; /* libbpf_print_fn */
0.070 us [ 5308] | __errno_location();
3.717 us [ 5308] | } /* libbpf_print */
0.180 us [ 5308] | strcmp(".bss", "license") = -62;
0.120 us [ 5308] | strcmp(".bss", "version") = -72;
0.120 us [ 5308] | strcmp(".bss", "maps") = -63;
0.171 us [ 5308] | strcmp(".bss", ".maps") = -11;
0.180 us [ 5308] | strcmp(".bss", ".BTF") = 32;
0.181 us [ 5308] | strcmp(".bss", ".BTF.ext") = 32;
0.210 us [ 5308] | strcmp(".bss", ".bss") = 0;
0.060 us [ 5308] | elf_nextscn();
0.080 us [ 5308] | elf_ndxscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d348) {
0.070 us [ 5308] | elf64_getshdr();
0.300 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 58) {
0.090 us [ 5308] | elf_strptr();
0.311 us [ 5308] | } = ".rodata"; /* elf_sec_str */
[ 5308] | ignore_elf_section(&data.6285, ".rodata") {
[ 5308] | is_sec_name_dwarf(".rodata") {
0.150 us [ 5308] | strncmp(".rodata", ".debug_", 7) = 14;
0.441 us [ 5308] | } = 0; /* is_sec_name_dwarf */
0.150 us [ 5308] | strncmp(".rodata", ".rel", 4) = 10;
1.032 us [ 5308] | } = 0; /* ignore_elf_section */
[ 5308] | elf_sec_data(0x55a877e7cbd0, 0x55a877e7d348) {
0.120 us [ 5308] | elf_getdata();
0.330 us [ 5308] | } = 0x55a877e7d348; /* elf_sec_data */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n") {
0.070 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", 0x7ffd6e057610) {
2.504 us [ 5308] | vfprintf();
2.815 us [ 5308] | } = 66; /* libbpf_print_fn */
0.060 us [ 5308] | __errno_location();
3.557 us [ 5308] | } /* libbpf_print */
0.171 us [ 5308] | strcmp(".rodata", "license") = -62;
0.120 us [ 5308] | strcmp(".rodata", "version") = -72;
0.131 us [ 5308] | strcmp(".rodata", "maps") = -63;
0.130 us [ 5308] | strcmp(".rodata", ".maps") = 5;
0.161 us [ 5308] | strcmp(".rodata", ".BTF") = 48;
0.200 us [ 5308] | strcmp(".rodata", ".BTF.ext") = 48;
0.221 us [ 5308] | strcmp(".rodata", ".data") = 14;
0.160 us [ 5308] | strncmp(".rodata", ".data.", 6) = 14;
0.140 us [ 5308] | strcmp(".rodata", ".rodata") = 0;
0.181 us [ 5308] | elf_nextscn();
0.071 us [ 5308] | elf_ndxscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d418) {
0.071 us [ 5308] | elf64_getshdr();
0.321 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 130) {
0.091 us [ 5308] | elf_strptr();
0.341 us [ 5308] | } = ".reltp/syscalls/sys_enter_write"; /* elf_sec_str */
[ 5308] | ignore_elf_section(&data.6285, ".reltp/syscalls/sys_enter_write") {
[ 5308] | is_sec_name_dwarf(".reltp/syscalls/sys_enter_write") {
0.170 us [ 5308] | strncmp(".reltp/syscalls/sys_enter_write", ".debug_", 7) = 14;
0.582 us [ 5308] | } = 0; /* is_sec_name_dwarf */
0.170 us [ 5308] | strncmp(".reltp/syscalls/sys_enter_write", ".rel", 4) = 0;
[ 5308] | is_sec_name_dwarf("tp/syscalls/sys_enter_write") {
0.150 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", ".debug_", 7) = 70;
0.461 us [ 5308] | } = 0; /* is_sec_name_dwarf */
0.170 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", ".BTF") = 70;
0.171 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", ".BTF.ext") = 70;
2.535 us [ 5308] | } = 0; /* ignore_elf_section */
[ 5308] | elf_sec_data(0x55a877e7cbd0, 0x55a877e7d418) {
0.241 us [ 5308] | elf_getdata();
0.511 us [ 5308] | } = 0x55a877e7d418; /* elf_sec_data */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n") {
0.060 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", 0x7ffd6e057610) {
2.895 us [ 5308] | vfprintf();
3.256 us [ 5308] | } = 91; /* libbpf_print_fn */
0.070 us [ 5308] | __errno_location();
4.068 us [ 5308] | } /* libbpf_print */
0.181 us [ 5308] | strcmp(".reltp/syscalls/sys_enter_write", "license") = -62;
0.130 us [ 5308] | strcmp(".reltp/syscalls/sys_enter_write", "version") = -72;
0.151 us [ 5308] | strcmp(".reltp/syscalls/sys_enter_write", "maps") = -63;
0.140 us [ 5308] | strcmp(".reltp/syscalls/sys_enter_write", ".maps") = 5;
0.161 us [ 5308] | strcmp(".reltp/syscalls/sys_enter_write", ".BTF") = 48;
0.170 us [ 5308] | strcmp(".reltp/syscalls/sys_enter_write", ".BTF.ext") = 48;
[ 5308] | section_have_execinstr(0x55a877e7cbd0, 3) {
[ 5308] | elf_sec_by_idx(0x55a877e7cbd0, 3) {
0.241 us [ 5308] | elf_getscn();
1.894 us [ 5308] | } = 0x55a877e7d0d8; /* elf_sec_by_idx */
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d0d8) {
0.160 us [ 5308] | elf64_getshdr();
0.742 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
4.088 us [ 5308] | } = 1; /* section_have_execinstr */
0.090 us [ 5308] | elf_nextscn();
0.080 us [ 5308] | elf_ndxscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d4e8) {
0.060 us [ 5308] | elf64_getshdr();
0.400 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 162) {
0.341 us [ 5308] | elf_strptr();
0.741 us [ 5308] | } = ".BTF"; /* elf_sec_str */
[ 5308] | ignore_elf_section(&data.6285, ".BTF") {
[ 5308] | is_sec_name_dwarf(".BTF") {
0.772 us [ 5308] | strncmp(".BTF", ".debug_", 7) = -34;
1.302 us [ 5308] | } = -256; /* is_sec_name_dwarf */
0.651 us [ 5308] | strncmp(".BTF", ".rel", 4) = -48;
2.816 us [ 5308] | } = 0; /* ignore_elf_section */
[ 5308] | elf_sec_data(0x55a877e7cbd0, 0x55a877e7d4e8) {
0.361 us [ 5308] | elf_getdata();
0.881 us [ 5308] | } = 0x55a877e7d4e8; /* elf_sec_data */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n") {
0.070 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", 0x7ffd6e057610) {
64.844 us [ 5308] | vfprintf();
65.676 us [ 5308] | } = 64; /* libbpf_print_fn */
0.080 us [ 5308] | __errno_location();
67.680 us [ 5308] | } /* libbpf_print */
0.470 us [ 5308] | strcmp(".BTF", "license") = -62;
0.150 us [ 5308] | strcmp(".BTF", "version") = -72;
0.131 us [ 5308] | strcmp(".BTF", "maps") = -63;
0.160 us [ 5308] | strcmp(".BTF", ".maps") = -43;
0.170 us [ 5308] | strcmp(".BTF", ".BTF") = 0;
0.111 us [ 5308] | elf_nextscn();
0.080 us [ 5308] | elf_ndxscn();
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d5b8) {
0.070 us [ 5308] | elf64_getshdr();
0.421 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 167) {
0.230 us [ 5308] | elf_strptr();
0.551 us [ 5308] | } = ".BTF.ext"; /* elf_sec_str */
[ 5308] | ignore_elf_section(&data.6285, ".BTF.ext") {
[ 5308] | is_sec_name_dwarf(".BTF.ext") {
0.240 us [ 5308] | strncmp(".BTF.ext", ".debug_", 7) = -34;
0.591 us [ 5308] | } = -256; /* is_sec_name_dwarf */
0.321 us [ 5308] | strncmp(".BTF.ext", ".rel", 4) = -48;
11.742 us [ 5308] | } = 0; /* ignore_elf_section */
[ 5308] | elf_sec_data(0x55a877e7cbd0, 0x55a877e7d5b8) {
0.270 us [ 5308] | elf_getdata();
0.561 us [ 5308] | } = 0x55a877e7d5b8; /* elf_sec_data */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n") {
0.050 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", 0x7ffd6e057610) {
4.439 us [ 5308] | vfprintf();
4.810 us [ 5308] | } = 68; /* libbpf_print_fn */
0.040 us [ 5308] | __errno_location();
5.582 us [ 5308] | } /* libbpf_print */
0.210 us [ 5308] | strcmp(".BTF.ext", "license") = -62;
0.140 us [ 5308] | strcmp(".BTF.ext", "version") = -72;
0.140 us [ 5308] | strcmp(".BTF.ext", "maps") = -63;
0.150 us [ 5308] | strcmp(".BTF.ext", ".maps") = -43;
0.140 us [ 5308] | strcmp(".BTF.ext", ".BTF") = 46;
0.380 us [ 5308] | strcmp(".BTF.ext", ".BTF.ext") = 0;
0.080 us [ 5308] | elf_nextscn();
1.423 us [ 5308] | qsort(0x55a877ce0ee0, 1, 200, &cmp_progs);
[ 5308] | bpf_object__init_btf(0x55a877e7cbd0, 0x55a877e7d4e8, 0x55a877e7d5b8) {
[ 5308] | btf__new(&data.6285, 595) {
[ 5308] | btf_new(&data.6285, 595, 0) {
0.862 us [ 5308] | calloc(1, 120) = 0x55a877e7d810;
0.481 us [ 5308] | malloc(595) = 0x55a877e7d890;
0.320 us [ 5308] | memcpy(0x55a877e7d890, &data.6285, 595);
[ 5308] | btf_parse_hdr(0x55a877e7d810) {
0.711 us [ 5308] | __bswap_16(60319) = 40939;
314.506 us [ 5308] | } = 0; /* btf_parse_hdr */
0.231 us [ 5308] | btf_parse_str_sec(0x55a877e7d810) = 0;
[ 5308] | btf_parse_type_sec(0x55a877e7d810) {
[ 5308] | btf_type_size(0x55a877e7d8a8) {
7.005 us [ 5308] | btf_vlen(0x55a877e7d8a8) = 0x2000000;
0.181 us [ 5308] | btf_kind(0x55a877e7d8a8) = 2;
284.438 us [ 5308] | } = 12; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 0) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
[ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 0, 0x7fffffff, 1) {
[ 5308] | libbpf_reallocarray(0, 16, 4) {
0.621 us [ 5308] | realloc(0, 64) = 0x55a877debb30;
2.014 us [ 5308] | } = 0x55a877debb30; /* libbpf_reallocarray */
0.211 us [ 5308] | memset(0x55a877debb30, 0, 64);
3.296 us [ 5308] | } = 0x55a877debb30; /* libbpf_add_mem */
3.947 us [ 5308] | } = 0x55a877debb30; /* btf_add_type_offs_mem */
5.000 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d8b4) {
0.130 us [ 5308] | btf_vlen(0x55a877e7d8b4) = 0xd000001;
0.111 us [ 5308] | btf_kind(0x55a877e7d8b4) = 13;
0.952 us [ 5308] | } = 20; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 12) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.160 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 1, 0x7fffffff, 1) = 0x55a877debb34;
0.531 us [ 5308] | } = 0x55a877debb34; /* btf_add_type_offs_mem */
0.792 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d8c8) {
0.090 us [ 5308] | btf_vlen(0x55a877e7d8c8) = 0x1000000;
0.080 us [ 5308] | btf_kind(0x55a877e7d8c8) = 1;
0.541 us [ 5308] | } = 16; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 32) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.140 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 2, 0x7fffffff, 1) = 0x55a877debb38;
0.431 us [ 5308] | } = 0x55a877debb38; /* btf_add_type_offs_mem */
0.651 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d8d8) {
0.090 us [ 5308] | btf_vlen(0x55a877e7d8d8) = 0xc000001;
0.090 us [ 5308] | btf_kind(0x55a877e7d8d8) = 12;
0.561 us [ 5308] | } = 12; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 48) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.141 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 3, 0x7fffffff, 1) = 0x55a877debb3c;
0.391 us [ 5308] | } = 0x55a877debb3c; /* btf_add_type_offs_mem */
0.621 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d8e4) {
0.080 us [ 5308] | btf_vlen(0x55a877e7d8e4) = 0x1000000;
0.090 us [ 5308] | btf_kind(0x55a877e7d8e4) = 1;
0.561 us [ 5308] | } = 16; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 60) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.171 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 4, 0x7fffffff, 1) = 0x55a877debb40;
0.472 us [ 5308] | } = 0x55a877debb40; /* btf_add_type_offs_mem */
0.702 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d8f4) {
0.081 us [ 5308] | btf_vlen(0x55a877e7d8f4) = 0x3000000;
0.090 us [ 5308] | btf_kind(0x55a877e7d8f4) = 3;
0.561 us [ 5308] | } = 24; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 76) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.140 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 5, 0x7fffffff, 1) = 0x55a877debb44;
0.400 us [ 5308] | } = 0x55a877debb44; /* btf_add_type_offs_mem */
0.622 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d90c) {
0.090 us [ 5308] | btf_vlen(0x55a877e7d90c) = 0x1000000;
0.081 us [ 5308] | btf_kind(0x55a877e7d90c) = 1;
0.521 us [ 5308] | } = 16; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 100) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.140 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 6, 0x7fffffff, 1) = 0x55a877debb48;
0.391 us [ 5308] | } = 0x55a877debb48; /* btf_add_type_offs_mem */
0.621 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d91c) {
0.090 us [ 5308] | btf_vlen(0x55a877e7d91c) = 0xe000000;
0.080 us [ 5308] | btf_kind(0x55a877e7d91c) = 14;
9.368 us [ 5308] | } = 16; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 116) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.140 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 7, 0x7fffffff, 1) = 0x55a877debb4c;
0.400 us [ 5308] | } = 0x55a877debb4c; /* btf_add_type_offs_mem */
0.632 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d92c) {
0.080 us [ 5308] | btf_vlen(0x55a877e7d92c) = 0xe000000;
0.081 us [ 5308] | btf_kind(0x55a877e7d92c) = 14;
0.531 us [ 5308] | } = 16; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 132) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.151 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 8, 0x7fffffff, 1) = 0x55a877debb50;
0.401 us [ 5308] | } = 0x55a877debb50; /* btf_add_type_offs_mem */
0.601 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d93c) {
0.090 us [ 5308] | btf_vlen(0x55a877e7d93c) = 0xa000000;
0.080 us [ 5308] | btf_kind(0x55a877e7d93c) = 10;
0.511 us [ 5308] | } = 12; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 148) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.150 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 9, 0x7fffffff, 1) = 0x55a877debb54;
0.421 us [ 5308] | } = 0x55a877debb54; /* btf_add_type_offs_mem */
0.631 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d948) {
0.090 us [ 5308] | btf_vlen(0x55a877e7d948) = 0x3000000;
0.100 us [ 5308] | btf_kind(0x55a877e7d948) = 3;
0.541 us [ 5308] | } = 24; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 160) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.150 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 10, 0x7fffffff, 1) = 0x55a877debb58;
0.411 us [ 5308] | } = 0x55a877debb58; /* btf_add_type_offs_mem */
0.631 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d960) {
0.090 us [ 5308] | btf_vlen(0x55a877e7d960) = 0xe000000;
0.080 us [ 5308] | btf_kind(0x55a877e7d960) = 14;
0.521 us [ 5308] | } = 16; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 184) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.150 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 11, 0x7fffffff, 1) = 0x55a877debb5c;
0.401 us [ 5308] | } = 0x55a877debb5c; /* btf_add_type_offs_mem */
0.611 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d970) {
0.080 us [ 5308] | btf_vlen(0x55a877e7d970) = 0xf000001;
0.080 us [ 5308] | btf_kind(0x55a877e7d970) = 15;
0.521 us [ 5308] | } = 24; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 200) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.150 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 12, 0x7fffffff, 1) = 0x55a877debb60;
0.401 us [ 5308] | } = 0x55a877debb60; /* btf_add_type_offs_mem */
0.601 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d988) {
0.090 us [ 5308] | btf_vlen(0x55a877e7d988) = 0xf000001;
0.080 us [ 5308] | btf_kind(0x55a877e7d988) = 15;
0.511 us [ 5308] | } = 24; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 224) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.150 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 13, 0x7fffffff, 1) = 0x55a877debb64;
0.401 us [ 5308] | } = 0x55a877debb64; /* btf_add_type_offs_mem */
0.601 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
[ 5308] | btf_type_size(0x55a877e7d9a0) {
0.090 us [ 5308] | btf_vlen(0x55a877e7d9a0) = 0xf000001;
0.080 us [ 5308] | btf_kind(0x55a877e7d9a0) = 15;
0.501 us [ 5308] | } = 24; /* btf_type_size */
[ 5308] | btf_add_type_idx_entry(0x55a877e7d810, 248) {
[ 5308] | btf_add_type_offs_mem(0x55a877e7d810, 1) {
0.150 us [ 5308] | libbpf_add_mem(0x55a877e7d840, 0x55a877e7d848, 4, 14, 0x7fffffff, 1) = 0x55a877debb68;
0.401 us [ 5308] | } = 0x55a877debb68; /* btf_add_type_offs_mem */
0.611 us [ 5308] | } = 0; /* btf_add_type_idx_entry */
320.547 us [ 5308] | } = 0; /* btf_parse_type_sec */
[ 5308] | btf_sanity_check(0x55a877e7d810) {
0.180 us [ 5308] | btf__type_cnt(0x55a877e7d810) = 16;
0.220 us [ 5308] | btf_type_by_id(0x55a877e7d810, 1) = 0x55a877e7d8a8;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d8a8, 1) {
0.080 us [ 5308] | btf_kind(0x55a877e7d8a8) = 2;
[ 5308] | btf_validate_str(0x55a877e7d810, 0, "type name", 1) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.201 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
1.583 us [ 5308] | } = ""; /* btf__str_by_offset */
327.599 us [ 5308] | } = 0; /* btf_validate_str */
[ 5308] | btf_validate_id(0x55a877e7d810, 0, 1) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 0) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 0) = &btf_void;
0.541 us [ 5308] | } = &btf_void; /* btf__type_by_id */
1.072 us [ 5308] | } = 0; /* btf_validate_id */
329.903 us [ 5308] | } = 0; /* btf_validate_type */
0.130 us [ 5308] | btf_type_by_id(0x55a877e7d810, 2) = 0x55a877e7d8b4;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d8b4, 2) {
0.101 us [ 5308] | btf_kind(0x55a877e7d8b4) = 13;
[ 5308] | btf_validate_str(0x55a877e7d810, 0, "type name", 2) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.070 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.300 us [ 5308] | } = ""; /* btf__str_by_offset */
0.801 us [ 5308] | } = 0; /* btf_validate_str */
0.341 us [ 5308] | btf_params(0x55a877e7d8b4) = 0x55a877e7d8c0;
0.060 us [ 5308] | btf_vlen(0x55a877e7d8b4) = 0xd000001;
[ 5308] | btf_validate_str(0x55a877e7d810, 1, "param name", 2) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 1) {
0.070 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.290 us [ 5308] | } = "ctx"; /* btf__str_by_offset */
0.591 us [ 5308] | } = 0; /* btf_validate_str */
[ 5308] | btf_validate_id(0x55a877e7d810, 1, 2) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 1) {
0.070 us [ 5308] | btf_type_by_id(0x55a877e7d810, 1) = 0x55a877e7d8a8;
0.301 us [ 5308] | } = 0x55a877e7d8a8; /* btf__type_by_id */
0.531 us [ 5308] | } = 0; /* btf_validate_id */
3.787 us [ 5308] | } = 0; /* btf_validate_type */
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 3) = 0x55a877e7d8c8;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d8c8, 3) {
0.080 us [ 5308] | btf_kind(0x55a877e7d8c8) = 1;
[ 5308] | btf_validate_str(0x55a877e7d810, 5, "type name", 3) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 5) {
0.060 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.261 us [ 5308] | } = "int"; /* btf__str_by_offset */
0.511 us [ 5308] | } = 0; /* btf_validate_str */
1.012 us [ 5308] | } = 0; /* btf_validate_type */
0.061 us [ 5308] | btf_type_by_id(0x55a877e7d810, 4) = 0x55a877e7d8d8;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d8d8, 4) {
0.050 us [ 5308] | btf_kind(0x55a877e7d8d8) = 12;
[ 5308] | btf_validate_str(0x55a877e7d810, 9, "type name", 4) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 9) {
0.050 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.241 us [ 5308] | } = "handle_tp"; /* btf__str_by_offset */
0.451 us [ 5308] | } = 0; /* btf_validate_str */
[ 5308] | btf_validate_id(0x55a877e7d810, 2, 4) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 2) {
0.070 us [ 5308] | btf_type_by_id(0x55a877e7d810, 2) = 0x55a877e7d8b4;
0.260 us [ 5308] | } = 0x55a877e7d8b4; /* btf__type_by_id */
0.451 us [ 5308] | } = 0; /* btf_validate_id */
[ 5308] | btf__type_by_id(0x55a877e7d810, 2) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 2) = 0x55a877e7d8b4;
0.251 us [ 5308] | } = 0x55a877e7d8b4; /* btf__type_by_id */
0.060 us [ 5308] | btf_kind(0x55a877e7d8b4) = 13;
1.933 us [ 5308] | } = 0; /* btf_validate_type */
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 5) = 0x55a877e7d8e4;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d8e4, 5) {
0.050 us [ 5308] | btf_kind(0x55a877e7d8e4) = 1;
[ 5308] | btf_validate_str(0x55a877e7d810, 19, "type name", 5) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 19) {
0.050 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.240 us [ 5308] | } = "char"; /* btf__str_by_offset */
0.441 us [ 5308] | } = 0; /* btf_validate_str */
0.791 us [ 5308] | } = 0; /* btf_validate_type */
0.070 us [ 5308] | btf_type_by_id(0x55a877e7d810, 6) = 0x55a877e7d8f4;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d8f4, 6) {
0.050 us [ 5308] | btf_kind(0x55a877e7d8f4) = 3;
[ 5308] | btf_validate_str(0x55a877e7d810, 0, "type name", 6) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.060 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.230 us [ 5308] | } = ""; /* btf__str_by_offset */
0.421 us [ 5308] | } = 0; /* btf_validate_str */
0.150 us [ 5308] | btf_array(0x55a877e7d8f4) = 0x55a877e7d900;
[ 5308] | btf_validate_id(0x55a877e7d810, 5, 6) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 5) {
0.061 us [ 5308] | btf_type_by_id(0x55a877e7d810, 5) = 0x55a877e7d8e4;
0.241 us [ 5308] | } = 0x55a877e7d8e4; /* btf__type_by_id */
0.401 us [ 5308] | } = 0; /* btf_validate_id */
[ 5308] | btf_validate_id(0x55a877e7d810, 7, 6) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 7) {
0.070 us [ 5308] | btf_type_by_id(0x55a877e7d810, 7) = 0x55a877e7d90c;
0.241 us [ 5308] | } = 0x55a877e7d90c; /* btf__type_by_id */
0.401 us [ 5308] | } = 0; /* btf_validate_id */
2.705 us [ 5308] | } = 0; /* btf_validate_type */
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 7) = 0x55a877e7d90c;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d90c, 7) {
0.060 us [ 5308] | btf_kind(0x55a877e7d90c) = 1;
[ 5308] | btf_validate_str(0x55a877e7d810, 24, "type name", 7) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 24) {
0.050 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.231 us [ 5308] | } = "__ARRAY_SIZE_TYPE__"; /* btf__str_by_offset */
0.471 us [ 5308] | } = 0; /* btf_validate_str */
0.802 us [ 5308] | } = 0; /* btf_validate_type */
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 8) = 0x55a877e7d91c;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d91c, 8) {
0.050 us [ 5308] | btf_kind(0x55a877e7d91c) = 14;
[ 5308] | btf_validate_str(0x55a877e7d810, 44, "type name", 8) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 44) {
0.050 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.231 us [ 5308] | } = "LICENSE"; /* btf__str_by_offset */
0.441 us [ 5308] | } = 0; /* btf_validate_str */
[ 5308] | btf_validate_id(0x55a877e7d810, 6, 8) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 6) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 6) = 0x55a877e7d8f4;
0.241 us [ 5308] | } = 0x55a877e7d8f4; /* btf__type_by_id */
0.391 us [ 5308] | } = 0; /* btf_validate_id */
1.283 us [ 5308] | } = 0; /* btf_validate_type */
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 9) = 0x55a877e7d92c;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d92c, 9) {
0.061 us [ 5308] | btf_kind(0x55a877e7d92c) = 14;
[ 5308] | btf_validate_str(0x55a877e7d810, 52, "type name", 9) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 52) {
0.060 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.230 us [ 5308] | } = "my_pid"; /* btf__str_by_offset */
0.431 us [ 5308] | } = 0; /* btf_validate_str */
[ 5308] | btf_validate_id(0x55a877e7d810, 3, 9) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 3) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 3) = 0x55a877e7d8c8;
0.240 us [ 5308] | } = 0x55a877e7d8c8; /* btf__type_by_id */
0.401 us [ 5308] | } = 0; /* btf_validate_id */
1.233 us [ 5308] | } = 0; /* btf_validate_type */
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 10) = 0x55a877e7d93c;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d93c, 10) {
0.050 us [ 5308] | btf_kind(0x55a877e7d93c) = 10;
[ 5308] | btf_validate_str(0x55a877e7d810, 0, "type name", 10) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.060 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.230 us [ 5308] | } = ""; /* btf__str_by_offset */
0.430 us [ 5308] | } = 0; /* btf_validate_str */
[ 5308] | btf_validate_id(0x55a877e7d810, 5, 10) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 5) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 5) = 0x55a877e7d8e4;
0.250 us [ 5308] | } = 0x55a877e7d8e4; /* btf__type_by_id */
0.411 us [ 5308] | } = 0; /* btf_validate_id */
1.284 us [ 5308] | } = 0; /* btf_validate_type */
0.080 us [ 5308] | btf_type_by_id(0x55a877e7d810, 11) = 0x55a877e7d948;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d948, 11) {
0.060 us [ 5308] | btf_kind(0x55a877e7d948) = 3;
[ 5308] | btf_validate_str(0x55a877e7d810, 0, "type name", 11) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.061 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.251 us [ 5308] | } = ""; /* btf__str_by_offset */
0.471 us [ 5308] | } = 0; /* btf_validate_str */
0.060 us [ 5308] | btf_array(0x55a877e7d948) = 0x55a877e7d954;
[ 5308] | btf_validate_id(0x55a877e7d810, 10, 11) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 10) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 10) = 0x55a877e7d93c;
0.230 us [ 5308] | } = 0x55a877e7d93c; /* btf__type_by_id */
0.411 us [ 5308] | } = 0; /* btf_validate_id */
[ 5308] | btf_validate_id(0x55a877e7d810, 7, 11) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 7) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 7) = 0x55a877e7d90c;
0.230 us [ 5308] | } = 0x55a877e7d90c; /* btf__type_by_id */
0.411 us [ 5308] | } = 0; /* btf_validate_id */
2.023 us [ 5308] | } = 0; /* btf_validate_type */
0.061 us [ 5308] | btf_type_by_id(0x55a877e7d810, 12) = 0x55a877e7d960;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d960, 12) {
0.060 us [ 5308] | btf_kind(0x55a877e7d960) = 14;
[ 5308] | btf_validate_str(0x55a877e7d810, 59, "type name", 12) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 59) {
0.060 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.231 us [ 5308] | } = "handle_tp.____fmt"; /* btf__str_by_offset */
0.471 us [ 5308] | } = 0; /* btf_validate_str */
[ 5308] | btf_validate_id(0x55a877e7d810, 11, 12) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 11) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 11) = 0x55a877e7d948;
0.240 us [ 5308] | } = 0x55a877e7d948; /* btf__type_by_id */
0.401 us [ 5308] | } = 0; /* btf_validate_id */
1.302 us [ 5308] | } = 0; /* btf_validate_type */
0.061 us [ 5308] | btf_type_by_id(0x55a877e7d810, 13) = 0x55a877e7d970;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d970, 13) {
0.050 us [ 5308] | btf_kind(0x55a877e7d970) = 15;
[ 5308] | btf_validate_str(0x55a877e7d810, 250, "type name", 13) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 250) {
0.061 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.241 us [ 5308] | } = "license"; /* btf__str_by_offset */
0.431 us [ 5308] | } = 0; /* btf_validate_str */
0.141 us [ 5308] | btf_var_secinfos(0x55a877e7d970) = 0x55a877e7d97c;
0.060 us [ 5308] | btf_vlen(0x55a877e7d970) = 0xf000001;
[ 5308] | btf_validate_id(0x55a877e7d810, 8, 13) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 8) {
0.061 us [ 5308] | btf_type_by_id(0x55a877e7d810, 8) = 0x55a877e7d91c;
0.251 us [ 5308] | } = 0x55a877e7d91c; /* btf__type_by_id */
0.431 us [ 5308] | } = 0; /* btf_validate_id */
1.773 us [ 5308] | } = 0; /* btf_validate_type */
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 14) = 0x55a877e7d988;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d988, 14) {
0.050 us [ 5308] | btf_kind(0x55a877e7d988) = 15;
[ 5308] | btf_validate_str(0x55a877e7d810, 258, "type name", 14) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 258) {
0.060 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.251 us [ 5308] | } = ".bss"; /* btf__str_by_offset */
0.451 us [ 5308] | } = 0; /* btf_validate_str */
0.060 us [ 5308] | btf_var_secinfos(0x55a877e7d988) = 0x55a877e7d994;
0.060 us [ 5308] | btf_vlen(0x55a877e7d988) = 0xf000001;
[ 5308] | btf_validate_id(0x55a877e7d810, 9, 14) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 9) {
0.070 us [ 5308] | btf_type_by_id(0x55a877e7d810, 9) = 0x55a877e7d92c;
0.240 us [ 5308] | } = 0x55a877e7d92c; /* btf__type_by_id */
0.390 us [ 5308] | } = 0; /* btf_validate_id */
1.583 us [ 5308] | } = 0; /* btf_validate_type */
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 15) = 0x55a877e7d9a0;
[ 5308] | btf_validate_type(0x55a877e7d810, 0x55a877e7d9a0, 15) {
0.050 us [ 5308] | btf_kind(0x55a877e7d9a0) = 15;
[ 5308] | btf_validate_str(0x55a877e7d810, 263, "type name", 15) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 263) {
0.050 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.240 us [ 5308] | } = ".rodata"; /* btf__str_by_offset */
0.431 us [ 5308] | } = 0; /* btf_validate_str */
0.060 us [ 5308] | btf_var_secinfos(0x55a877e7d9a0) = 0x55a877e7d9ac;
0.060 us [ 5308] | btf_vlen(0x55a877e7d9a0) = 0xf000001;
[ 5308] | btf_validate_id(0x55a877e7d810, 12, 15) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 12) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 12) = 0x55a877e7d960;
0.240 us [ 5308] | } = 0x55a877e7d960; /* btf__type_by_id */
0.401 us [ 5308] | } = 0; /* btf_validate_id */
1.513 us [ 5308] | } = 0; /* btf_validate_type */
371.232 us [ 5308] | } = 0; /* btf_sanity_check */
1.334 ms [ 5308] | } = 0x55a877e7d810; /* btf_new */
[ 5308] | libbpf_ptr(0x55a877e7d810) {
0.150 us [ 5308] | IS_ERR(0x55a877e7d810) = 0x55a877e7d800;
0.060 us [ 5308] | IS_ERR(0x55a877e7d810) = 0x55a877e7d800;
0.852 us [ 5308] | } = 0x55a877e7d810; /* libbpf_ptr */
1.655 ms [ 5308] | } = 0x55a877e7d810; /* btf__new */
[ 5308] | libbpf_get_error(0x55a877e7d810) {
0.210 us [ 5308] | IS_ERR_OR_NULL(0x55a877e7d810) = 0;
1.162 us [ 5308] | } = 0; /* libbpf_get_error */
0.361 us [ 5308] | btf__set_pointer_size(0x55a877e7d810, 8) = 0;
[ 5308] | btf_ext__new(&data.6285, 160) {
0.541 us [ 5308] | calloc(1, 112) = 0x55a877e7daf0;
0.331 us [ 5308] | malloc(160) = 0x55a877ce28d0;
0.261 us [ 5308] | memcpy(0x55a877ce28d0, &data.6285, 160);
[ 5308] | btf_ext_parse_hdr(0x55a877ce28d0, 160) {
0.100 us [ 5308] | __bswap_16(60319) = 40939;
0.792 us [ 5308] | } = 0; /* btf_ext_parse_hdr */
[ 5308] | btf_ext_setup_func_info(0x55a877e7daf0) {
0.261 us [ 5308] | btf_ext_setup_info(0x55a877e7daf0, 0x7ffd6e057610) = 0;
0.942 us [ 5308] | } = 0; /* btf_ext_setup_func_info */
[ 5308] | btf_ext_setup_line_info(0x55a877e7daf0) {
0.080 us [ 5308] | btf_ext_setup_info(0x55a877e7daf0, 0x7ffd6e057610) = 0;
0.340 us [ 5308] | } = 0; /* btf_ext_setup_line_info */
[ 5308] | btf_ext_setup_core_relos(0x55a877e7daf0) {
0.070 us [ 5308] | btf_ext_setup_info(0x55a877e7daf0, 0x7ffd6e057610) = 0;
7.864 us [ 5308] | } = 0; /* btf_ext_setup_core_relos */
14.428 us [ 5308] | } = 0x55a877e7daf0; /* btf_ext__new */
[ 5308] | libbpf_get_error(0x55a877e7daf0) {
0.070 us [ 5308] | IS_ERR_OR_NULL(0x55a877e7daf0) = 0;
0.311 us [ 5308] | } = 0; /* libbpf_get_error */
0.181 us [ 5308] | calloc(1, 4) = 0x55a877e7db70;
[ 5308] | btf__name_by_offset(0x55a877e7d810, 271) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 271) {
0.060 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.411 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* btf__str_by_offset */
0.903 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* btf__name_by_offset */
0.241 us [ 5308] | str_is_empty("tp/syscalls/sys_enter_write") = 0;
[ 5308] | elf_sec_by_name(0x55a877e7cbd0, "tp/syscalls/sys_enter_write") {
0.130 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7cf38) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7cf38) {
0.130 us [ 5308] | elf64_getshdr();
0.451 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 1) {
0.260 us [ 5308] | elf_strptr();
0.541 us [ 5308] | } = ".strtab"; /* elf_sec_str */
1.723 us [ 5308] | } = ".strtab"; /* elf_sec_name */
0.240 us [ 5308] | strcmp(".strtab", "tp/syscalls/sys_enter_write") = -70;
0.040 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7d008) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d008) {
0.050 us [ 5308] | elf64_getshdr();
0.220 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 9) {
0.060 us [ 5308] | elf_strptr();
0.220 us [ 5308] | } = ".symtab"; /* elf_sec_str */
0.831 us [ 5308] | } = ".symtab"; /* elf_sec_name */
0.111 us [ 5308] | strcmp(".symtab", "tp/syscalls/sys_enter_write") = -70;
0.040 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7d0d8) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d0d8) {
0.040 us [ 5308] | elf64_getshdr();
0.211 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 17) {
0.050 us [ 5308] | elf_strptr();
0.210 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* elf_sec_str */
0.742 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* elf_sec_name */
0.180 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "tp/syscalls/sys_enter_write") = 0;
5.861 us [ 5308] | } = 0x55a877e7d0d8; /* elf_sec_by_name */
0.040 us [ 5308] | elf_ndxscn();
0.110 us [ 5308] | calloc(1, 4) = 0x55a877e7db90;
[ 5308] | btf__name_by_offset(0x55a877e7d810, 271) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 271) {
0.070 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.340 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* btf__str_by_offset */
0.581 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* btf__name_by_offset */
0.110 us [ 5308] | str_is_empty("tp/syscalls/sys_enter_write") = 0;
[ 5308] | elf_sec_by_name(0x55a877e7cbd0, "tp/syscalls/sys_enter_write") {
0.040 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7cf38) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7cf38) {
0.040 us [ 5308] | elf64_getshdr();
0.231 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 1) {
0.040 us [ 5308] | elf_strptr();
0.210 us [ 5308] | } = ".strtab"; /* elf_sec_str */
0.751 us [ 5308] | } = ".strtab"; /* elf_sec_name */
0.140 us [ 5308] | strcmp(".strtab", "tp/syscalls/sys_enter_write") = -70;
0.050 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7d008) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d008) {
0.040 us [ 5308] | elf64_getshdr();
0.200 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 9) {
0.040 us [ 5308] | elf_strptr();
0.211 us [ 5308] | } = ".symtab"; /* elf_sec_str */
0.652 us [ 5308] | } = ".symtab"; /* elf_sec_name */
0.080 us [ 5308] | strcmp(".symtab", "tp/syscalls/sys_enter_write") = -70;
0.040 us [ 5308] | elf_nextscn();
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7d0d8) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d0d8) {
0.050 us [ 5308] | elf64_getshdr();
0.200 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 17) {
0.040 us [ 5308] | elf_strptr();
0.201 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* elf_sec_str */
0.692 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* elf_sec_name */
0.130 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "tp/syscalls/sys_enter_write") = 0;
3.747 us [ 5308] | } = 0x55a877e7d0d8; /* elf_sec_by_name */
0.040 us [ 5308] | elf_ndxscn();
2.657 ms [ 5308] | } = 0; /* bpf_object__init_btf */
6.218 ms [ 5308] | } = 0; /* bpf_object__elf_collect */
[ 5308] | bpf_object__collect_externs(0x55a877e7cbd0) {
[ 5308] | elf_sec_by_idx(0x55a877e7cbd0, 2) {
0.070 us [ 5308] | elf_getscn();
0.441 us [ 5308] | } = 0x55a877e7d008; /* elf_sec_by_idx */
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d008) {
0.040 us [ 5308] | elf64_getshdr();
0.220 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | add_dummy_ksym_var(0x55a877e7d810) {
[ 5308] | btf__find_by_name_kind(0x55a877e7d810, ".ksyms", 15) {
[ 5308] | btf_find_by_name_kind(0x55a877e7d810, 1, ".ksyms", 15) {
0.090 us [ 5308] | btf__type_cnt(0x55a877e7d810) = 16;
308.393 us [ 5308] | strcmp(".ksyms", "void") = -72;
[ 5308] | btf__type_by_id(0x55a877e7d810, 1) {
0.160 us [ 5308] | btf_type_by_id(0x55a877e7d810, 1) = 0x55a877e7d8a8;
0.791 us [ 5308] | } = 0x55a877e7d8a8; /* btf__type_by_id */
0.100 us [ 5308] | btf_kind(0x55a877e7d8a8) = 2;
[ 5308] | btf__type_by_id(0x55a877e7d810, 2) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 2) = 0x55a877e7d8b4;
7.604 us [ 5308] | } = 0x55a877e7d8b4; /* btf__type_by_id */
0.060 us [ 5308] | btf_kind(0x55a877e7d8b4) = 13;
[ 5308] | btf__type_by_id(0x55a877e7d810, 3) {
0.070 us [ 5308] | btf_type_by_id(0x55a877e7d810, 3) = 0x55a877e7d8c8;
0.231 us [ 5308] | } = 0x55a877e7d8c8; /* btf__type_by_id */
0.060 us [ 5308] | btf_kind(0x55a877e7d8c8) = 1;
[ 5308] | btf__type_by_id(0x55a877e7d810, 4) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 4) = 0x55a877e7d8d8;
0.221 us [ 5308] | } = 0x55a877e7d8d8; /* btf__type_by_id */
0.050 us [ 5308] | btf_kind(0x55a877e7d8d8) = 12;
[ 5308] | btf__type_by_id(0x55a877e7d810, 5) {
0.061 us [ 5308] | btf_type_by_id(0x55a877e7d810, 5) = 0x55a877e7d8e4;
0.231 us [ 5308] | } = 0x55a877e7d8e4; /* btf__type_by_id */
0.060 us [ 5308] | btf_kind(0x55a877e7d8e4) = 1;
[ 5308] | btf__type_by_id(0x55a877e7d810, 6) {
0.080 us [ 5308] | btf_type_by_id(0x55a877e7d810, 6) = 0x55a877e7d8f4;
0.271 us [ 5308] | } = 0x55a877e7d8f4; /* btf__type_by_id */
0.060 us [ 5308] | btf_kind(0x55a877e7d8f4) = 3;
[ 5308] | btf__type_by_id(0x55a877e7d810, 7) {
0.070 us [ 5308] | btf_type_by_id(0x55a877e7d810, 7) = 0x55a877e7d90c;
0.281 us [ 5308] | } = 0x55a877e7d90c; /* btf__type_by_id */
0.070 us [ 5308] | btf_kind(0x55a877e7d90c) = 1;
[ 5308] | btf__type_by_id(0x55a877e7d810, 8) {
0.070 us [ 5308] | btf_type_by_id(0x55a877e7d810, 8) = 0x55a877e7d91c;
0.241 us [ 5308] | } = 0x55a877e7d91c; /* btf__type_by_id */
0.060 us [ 5308] | btf_kind(0x55a877e7d91c) = 14;
[ 5308] | btf__type_by_id(0x55a877e7d810, 9) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 9) = 0x55a877e7d92c;
0.220 us [ 5308] | } = 0x55a877e7d92c; /* btf__type_by_id */
0.050 us [ 5308] | btf_kind(0x55a877e7d92c) = 14;
[ 5308] | btf__type_by_id(0x55a877e7d810, 10) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 10) = 0x55a877e7d93c;
0.220 us [ 5308] | } = 0x55a877e7d93c; /* btf__type_by_id */
0.061 us [ 5308] | btf_kind(0x55a877e7d93c) = 10;
[ 5308] | btf__type_by_id(0x55a877e7d810, 11) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 11) = 0x55a877e7d948;
0.220 us [ 5308] | } = 0x55a877e7d948; /* btf__type_by_id */
0.050 us [ 5308] | btf_kind(0x55a877e7d948) = 3;
[ 5308] | btf__type_by_id(0x55a877e7d810, 12) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 12) = 0x55a877e7d960;
0.220 us [ 5308] | } = 0x55a877e7d960; /* btf__type_by_id */
0.050 us [ 5308] | btf_kind(0x55a877e7d960) = 14;
[ 5308] | btf__type_by_id(0x55a877e7d810, 13) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 13) = 0x55a877e7d970;
0.221 us [ 5308] | } = 0x55a877e7d970; /* btf__type_by_id */
0.060 us [ 5308] | btf_kind(0x55a877e7d970) = 15;
[ 5308] | btf__name_by_offset(0x55a877e7d810, 250) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 250) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.381 us [ 5308] | } = "license"; /* btf__str_by_offset */
0.661 us [ 5308] | } = "license"; /* btf__name_by_offset */
0.390 us [ 5308] | strcmp(".ksyms", "license") = -62;
[ 5308] | btf__type_by_id(0x55a877e7d810, 14) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 14) = 0x55a877e7d988;
0.320 us [ 5308] | } = 0x55a877e7d988; /* btf__type_by_id */
0.060 us [ 5308] | btf_kind(0x55a877e7d988) = 15;
[ 5308] | btf__name_by_offset(0x55a877e7d810, 258) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 258) {
0.071 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.291 us [ 5308] | } = ".bss"; /* btf__str_by_offset */
0.481 us [ 5308] | } = ".bss"; /* btf__name_by_offset */
0.181 us [ 5308] | strcmp(".ksyms", ".bss") = 9;
[ 5308] | btf__type_by_id(0x55a877e7d810, 15) {
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 15) = 0x55a877e7d9a0;
0.230 us [ 5308] | } = 0x55a877e7d9a0; /* btf__type_by_id */
0.060 us [ 5308] | btf_kind(0x55a877e7d9a0) = 15;
[ 5308] | btf__name_by_offset(0x55a877e7d810, 263) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 263) {
0.050 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.230 us [ 5308] | } = ".rodata"; /* btf__str_by_offset */
0.401 us [ 5308] | } = ".rodata"; /* btf__name_by_offset */
0.140 us [ 5308] | strcmp(".ksyms", ".rodata") = -7;
[ 5308] | libbpf_err(-2) {
0.060 us [ 5308] | __errno_location();
0.601 us [ 5308] | } = -2; /* libbpf_err */
330.434 us [ 5308] | } = -2; /* btf_find_by_name_kind */
330.844 us [ 5308] | } = -2; /* btf__find_by_name_kind */
331.516 us [ 5308] | } = 0; /* add_dummy_ksym_var */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: looking for externs among %d symbols...\n") {
0.040 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: looking for externs among %d symbols...\n", 0x7ffd6e0575c0) {
53.297 us [ 5308] | vfprintf();
53.987 us [ 5308] | } = 47; /* libbpf_print_fn */
0.061 us [ 5308] | __errno_location();
55.531 us [ 5308] | } /* libbpf_print */
0.531 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 0) = &data.6285;
0.270 us [ 5308] | sym_is_extern(&data.6285) = 0;
0.120 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 1) = &data.6285;
0.100 us [ 5308] | sym_is_extern(&data.6285) = 0;
0.110 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 2) = &data.6285;
0.110 us [ 5308] | sym_is_extern(&data.6285) = 0;
0.101 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 3) = &data.6285;
0.080 us [ 5308] | sym_is_extern(&data.6285) = 0;
0.090 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 4) = &data.6285;
0.090 us [ 5308] | sym_is_extern(&data.6285) = 0;
0.100 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 5) = &data.6285;
0.091 us [ 5308] | sym_is_extern(&data.6285) = 0;
0.090 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 6) = &data.6285;
0.080 us [ 5308] | sym_is_extern(&data.6285) = 0;
0.090 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 7) = &data.6285;
0.090 us [ 5308] | sym_is_extern(&data.6285) = 0;
0.110 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 8) = &data.6285;
0.080 us [ 5308] | sym_is_extern(&data.6285) = 0;
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: collected %d externs total\n") {
0.160 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: collected %d externs total\n", 0x7ffd6e0575c0) {
51.138 us [ 5308] | vfprintf();
51.919 us [ 5308] | } = 34; /* libbpf_print_fn */
0.090 us [ 5308] | __errno_location();
54.184 us [ 5308] | } /* libbpf_print */
807.299 us [ 5308] | } = 0; /* bpf_object__collect_externs */
[ 5308] | bpf_object_fixup_btf(0x55a877e7cbd0) {
0.110 us [ 5308] | btf__type_cnt(0x55a877e7d810) = 16;
0.171 us [ 5308] | btf_type_by_id(0x55a877e7d810, 1) = 0x55a877e7d8a8;
[ 5308] | btf_is_datasec(0x55a877e7d8a8) {
0.150 us [ 5308] | btf_kind(0x55a877e7d8a8) = 2;
0.952 us [ 5308] | } = 0; /* btf_is_datasec */
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 2) = 0x55a877e7d8b4;
[ 5308] | btf_is_datasec(0x55a877e7d8b4) {
0.091 us [ 5308] | btf_kind(0x55a877e7d8b4) = 13;
0.291 us [ 5308] | } = 0; /* btf_is_datasec */
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 3) = 0x55a877e7d8c8;
[ 5308] | btf_is_datasec(0x55a877e7d8c8) {
0.080 us [ 5308] | btf_kind(0x55a877e7d8c8) = 1;
0.291 us [ 5308] | } = 0; /* btf_is_datasec */
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 4) = 0x55a877e7d8d8;
[ 5308] | btf_is_datasec(0x55a877e7d8d8) {
0.080 us [ 5308] | btf_kind(0x55a877e7d8d8) = 12;
0.301 us [ 5308] | } = 0; /* btf_is_datasec */
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 5) = 0x55a877e7d8e4;
[ 5308] | btf_is_datasec(0x55a877e7d8e4) {
0.090 us [ 5308] | btf_kind(0x55a877e7d8e4) = 1;
0.300 us [ 5308] | } = 0; /* btf_is_datasec */
0.091 us [ 5308] | btf_type_by_id(0x55a877e7d810, 6) = 0x55a877e7d8f4;
[ 5308] | btf_is_datasec(0x55a877e7d8f4) {
0.090 us [ 5308] | btf_kind(0x55a877e7d8f4) = 3;
0.290 us [ 5308] | } = 0; /* btf_is_datasec */
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 7) = 0x55a877e7d90c;
[ 5308] | btf_is_datasec(0x55a877e7d90c) {
0.080 us [ 5308] | btf_kind(0x55a877e7d90c) = 1;
0.300 us [ 5308] | } = 0; /* btf_is_datasec */
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 8) = 0x55a877e7d91c;
[ 5308] | btf_is_datasec(0x55a877e7d91c) {
0.090 us [ 5308] | btf_kind(0x55a877e7d91c) = 14;
0.291 us [ 5308] | } = 0; /* btf_is_datasec */
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 9) = 0x55a877e7d92c;
[ 5308] | btf_is_datasec(0x55a877e7d92c) {
0.081 us [ 5308] | btf_kind(0x55a877e7d92c) = 14;
0.291 us [ 5308] | } = 0; /* btf_is_datasec */
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 10) = 0x55a877e7d93c;
[ 5308] | btf_is_datasec(0x55a877e7d93c) {
0.080 us [ 5308] | btf_kind(0x55a877e7d93c) = 10;
0.291 us [ 5308] | } = 0; /* btf_is_datasec */
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 11) = 0x55a877e7d948;
[ 5308] | btf_is_datasec(0x55a877e7d948) {
0.080 us [ 5308] | btf_kind(0x55a877e7d948) = 3;
0.300 us [ 5308] | } = 0; /* btf_is_datasec */
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 12) = 0x55a877e7d960;
[ 5308] | btf_is_datasec(0x55a877e7d960) {
0.090 us [ 5308] | btf_kind(0x55a877e7d960) = 14;
0.300 us [ 5308] | } = 0; /* btf_is_datasec */
0.101 us [ 5308] | btf_type_by_id(0x55a877e7d810, 13) = 0x55a877e7d970;
[ 5308] | btf_is_datasec(0x55a877e7d970) {
0.090 us [ 5308] | btf_kind(0x55a877e7d970) = 15;
0.290 us [ 5308] | } = 1; /* btf_is_datasec */
[ 5308] | btf_fixup_datasec(0x55a877e7cbd0, 0x55a877e7d810, 0x55a877e7d970) {
0.411 us [ 5308] | btf_vlen(0x55a877e7d970) = 0xf000001;
[ 5308] | btf__name_by_offset(0x55a877e7d810, 250) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 250) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.451 us [ 5308] | } = "license"; /* btf__str_by_offset */
0.802 us [ 5308] | } = "license"; /* btf__name_by_offset */
0.381 us [ 5308] | strcmp("license", ".kconfig") = 62;
0.200 us [ 5308] | strcmp("license", ".ksyms") = 62;
0.180 us [ 5308] | btf_var_secinfos(0x55a877e7d970) = 0x55a877e7d97c;
[ 5308] | btf__type_by_id(0x55a877e7d810, 8) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 8) = 0x55a877e7d91c;
0.460 us [ 5308] | } = 0x55a877e7d91c; /* btf__type_by_id */
[ 5308] | btf_is_var(0x55a877e7d91c) {
0.080 us [ 5308] | btf_kind(0x55a877e7d91c) = 14;
0.431 us [ 5308] | } = 1; /* btf_is_var */
0.150 us [ 5308] | btf_var(0x55a877e7d91c) = 0x55a877e7d928;
[ 5308] | btf__name_by_offset(0x55a877e7d810, 44) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 44) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.360 us [ 5308] | } = "LICENSE"; /* btf__str_by_offset */
0.582 us [ 5308] | } = "LICENSE"; /* btf__name_by_offset */
[ 5308] | find_elf_var_sym(0x55a877e7cbd0, "LICENSE") {
0.200 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 0) = &data.6285;
0.120 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 1) = &data.6285;
0.120 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 2) = &data.6285;
0.090 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 3) = &data.6285;
0.091 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 4) = &data.6285;
0.090 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 5) = &data.6285;
0.101 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 6) = &data.6285;
0.090 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 7) = &data.6285;
[ 5308] | elf_sym_str(0x55a877e7cbd0, 115) {
0.381 us [ 5308] | elf_strptr();
1.032 us [ 5308] | } = "my_pid"; /* elf_sym_str */
0.301 us [ 5308] | strcmp("LICENSE", "my_pid") = -33;
0.100 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 8) = &data.6285;
[ 5308] | elf_sym_str(0x55a877e7cbd0, 122) {
0.090 us [ 5308] | elf_strptr();
10.661 us [ 5308] | } = "LICENSE"; /* elf_sym_str */
0.160 us [ 5308] | strcmp("LICENSE", "LICENSE") = 0;
17.043 us [ 5308] | } = &data.6285; /* find_elf_var_sym */
0.250 us [ 5308] | IS_ERR(&data.6285) = 0x55a877c73200;
0.120 us [ 5308] | btf_var_secinfos(0x55a877e7d970) = 0x55a877e7d97c;
0.441 us [ 5308] | qsort(0x55a877e7d97c, 1, 12, &compare_vsi_off);
461.180 us [ 5308] | } = 0; /* btf_fixup_datasec */
0.161 us [ 5308] | btf_type_by_id(0x55a877e7d810, 14) = 0x55a877e7d988;
[ 5308] | btf_is_datasec(0x55a877e7d988) {
0.091 us [ 5308] | btf_kind(0x55a877e7d988) = 15;
0.431 us [ 5308] | } = 1; /* btf_is_datasec */
[ 5308] | btf_fixup_datasec(0x55a877e7cbd0, 0x55a877e7d810, 0x55a877e7d988) {
0.081 us [ 5308] | btf_vlen(0x55a877e7d988) = 0xf000001;
[ 5308] | btf__name_by_offset(0x55a877e7d810, 258) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 258) {
0.100 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.450 us [ 5308] | } = ".bss"; /* btf__str_by_offset */
0.782 us [ 5308] | } = ".bss"; /* btf__name_by_offset */
0.290 us [ 5308] | strcmp(".bss", ".kconfig") = -9;
0.210 us [ 5308] | strcmp(".bss", ".ksyms") = -9;
0.090 us [ 5308] | btf_var_secinfos(0x55a877e7d988) = 0x55a877e7d994;
[ 5308] | btf__type_by_id(0x55a877e7d810, 9) {
0.111 us [ 5308] | btf_type_by_id(0x55a877e7d810, 9) = 0x55a877e7d92c;
0.401 us [ 5308] | } = 0x55a877e7d92c; /* btf__type_by_id */
[ 5308] | btf_is_var(0x55a877e7d92c) {
0.080 us [ 5308] | btf_kind(0x55a877e7d92c) = 14;
0.341 us [ 5308] | } = 1; /* btf_is_var */
0.080 us [ 5308] | btf_var(0x55a877e7d92c) = 0x55a877e7d938;
[ 5308] | btf__name_by_offset(0x55a877e7d810, 52) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 52) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.330 us [ 5308] | } = "my_pid"; /* btf__str_by_offset */
0.571 us [ 5308] | } = "my_pid"; /* btf__name_by_offset */
[ 5308] | find_elf_var_sym(0x55a877e7cbd0, "my_pid") {
0.110 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 0) = &data.6285;
0.100 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 1) = &data.6285;
0.100 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 2) = &data.6285;
0.091 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 3) = &data.6285;
0.100 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 4) = &data.6285;
0.101 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 5) = &data.6285;
0.090 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 6) = &data.6285;
0.100 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 7) = &data.6285;
[ 5308] | elf_sym_str(0x55a877e7cbd0, 115) {
0.090 us [ 5308] | elf_strptr();
0.360 us [ 5308] | } = "my_pid"; /* elf_sym_str */
0.140 us [ 5308] | strcmp("my_pid", "my_pid") = 0;
2.965 us [ 5308] | } = &data.6285; /* find_elf_var_sym */
0.100 us [ 5308] | IS_ERR(&data.6285) = 0x55a877c73200;
0.090 us [ 5308] | btf_var_secinfos(0x55a877e7d988) = 0x55a877e7d994;
0.191 us [ 5308] | qsort(0x55a877e7d994, 1, 12, &compare_vsi_off);
8.476 us [ 5308] | } = 0; /* btf_fixup_datasec */
0.111 us [ 5308] | btf_type_by_id(0x55a877e7d810, 15) = 0x55a877e7d9a0;
[ 5308] | btf_is_datasec(0x55a877e7d9a0) {
0.090 us [ 5308] | btf_kind(0x55a877e7d9a0) = 15;
0.310 us [ 5308] | } = 1; /* btf_is_datasec */
[ 5308] | btf_fixup_datasec(0x55a877e7cbd0, 0x55a877e7d810, 0x55a877e7d9a0) {
0.100 us [ 5308] | btf_vlen(0x55a877e7d9a0) = 0xf000001;
[ 5308] | btf__name_by_offset(0x55a877e7d810, 263) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 263) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.340 us [ 5308] | } = ".rodata"; /* btf__str_by_offset */
0.592 us [ 5308] | } = ".rodata"; /* btf__name_by_offset */
0.170 us [ 5308] | strcmp(".rodata", ".kconfig") = 7;
0.161 us [ 5308] | strcmp(".rodata", ".ksyms") = 7;
0.080 us [ 5308] | btf_var_secinfos(0x55a877e7d9a0) = 0x55a877e7d9ac;
[ 5308] | btf__type_by_id(0x55a877e7d810, 12) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 12) = 0x55a877e7d960;
0.351 us [ 5308] | } = 0x55a877e7d960; /* btf__type_by_id */
[ 5308] | btf_is_var(0x55a877e7d960) {
0.080 us [ 5308] | btf_kind(0x55a877e7d960) = 14;
0.301 us [ 5308] | } = 1; /* btf_is_var */
0.080 us [ 5308] | btf_var(0x55a877e7d960) = 0x55a877e7d96c;
0.100 us [ 5308] | btf_var_secinfos(0x55a877e7d9a0) = 0x55a877e7d9ac;
0.160 us [ 5308] | qsort(0x55a877e7d9ac, 1, 12, &compare_vsi_off);
3.627 us [ 5308] | } = 0; /* btf_fixup_datasec */
485.997 us [ 5308] | } = 0; /* bpf_object_fixup_btf */
[ 5308] | bpf_object__init_maps(0x55a877e7cbd0, 0x7ffd6e057880) {
0.331 us [ 5308] | bpf_object__init_user_btf_maps(0x55a877e7cbd0, 1, "NULL") = 0;
[ 5308] | bpf_object__init_global_data_maps(0x55a877e7cbd0) {
[ 5308] | elf_sec_by_idx(0x55a877e7cbd0, 5) {
0.130 us [ 5308] | elf_getscn();
0.601 us [ 5308] | } = 0x55a877e7d278; /* elf_sec_by_idx */
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7d278) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d278) {
0.100 us [ 5308] | elf64_getshdr();
0.471 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 53) {
0.080 us [ 5308] | elf_strptr();
0.371 us [ 5308] | } = ".bss"; /* elf_sec_str */
1.372 us [ 5308] | } = ".bss"; /* elf_sec_name */
[ 5308] | bpf_object__init_internal_map(0x55a877e7cbd0, LIBBPF_MAP_BSS, ".bss", 5, 0, 4) {
[ 5308] | bpf_object__add_map(0x55a877e7cbd0) {
[ 5308] | libbpf_ensure_mem(0x55a877e7cc38, 0x55a877e7cc48, 160, 1) {
[ 5308] | libbpf_add_mem(0x55a877e7cc38, 0x55a877e7cc48, 160, 0, -1, 1) {
[ 5308] | libbpf_reallocarray(0, 16, 160) {
0.602 us [ 5308] | realloc(0, 2560) = 0x55a877e972f0;
1.183 us [ 5308] | } = 0x55a877e972f0; /* libbpf_reallocarray */
0.460 us [ 5308] | memset(0x55a877e972f0, 0, 2560);
2.235 us [ 5308] | } = 0x55a877e972f0; /* libbpf_add_mem */
2.786 us [ 5308] | } = 0; /* libbpf_ensure_mem */
3.307 us [ 5308] | } = 0x55a877e972f0; /* bpf_object__add_map */
0.100 us [ 5308] | IS_ERR(0x55a877e972f0) = 0x55a877e97200;
0.591 us [ 5308] | strdup(".bss") = ".bss";
[ 5308] | internal_map_name(0x55a877e7cbd0, ".bss") {
0.251 us [ 5308] | strlen(".bss") = 4;
0.251 us [ 5308] | strchr("bss", '.') = "NULL";
0.130 us [ 5308] | strlen("minimal_bpf") = 11;
1.463 us [ 5308] | snprintf(0x7ffd6e057670, 16, "%.*s%.*s") = 12;
0.160 us [ 5308] | __ctype_b_loc();
0.060 us [ 5308] | __ctype_b_loc();
0.060 us [ 5308] | __ctype_b_loc();
0.060 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.071 us [ 5308] | __ctype_b_loc();
0.060 us [ 5308] | __ctype_b_loc();
0.722 us [ 5308] | strdup("minimal_.bss") = "minimal_.bss";
7.053 us [ 5308] | } = "minimal_.bss"; /* internal_map_name */
[ 5308] | map_fill_btf_type_info(0x55a877e7cbd0, 0x55a877e972f0) {
0.211 us [ 5308] | bpf_map__is_struct_ops(0x55a877e972f0) = 0;
0.531 us [ 5308] | bpf_map__is_internal(0x55a877e972f0) = 1;
[ 5308] | btf__find_by_name(0x55a877e7d810, ".bss") {
0.150 us [ 5308] | btf__type_cnt(0x55a877e7d810) = 16;
0.541 us [ 5308] | strcmp(".bss", "void") = -72;
[ 5308] | btf__type_by_id(0x55a877e7d810, 1) {
0.160 us [ 5308] | btf_type_by_id(0x55a877e7d810, 1) = 0x55a877e7d8a8;
0.441 us [ 5308] | } = 0x55a877e7d8a8; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 0) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.100 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.460 us [ 5308] | } = ""; /* btf__str_by_offset */
0.772 us [ 5308] | } = ""; /* btf__name_by_offset */
0.240 us [ 5308] | strcmp(".bss", "") = 46;
[ 5308] | btf__type_by_id(0x55a877e7d810, 2) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 2) = 0x55a877e7d8b4;
0.360 us [ 5308] | } = 0x55a877e7d8b4; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 0) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.330 us [ 5308] | } = ""; /* btf__str_by_offset */
0.551 us [ 5308] | } = ""; /* btf__name_by_offset */
0.140 us [ 5308] | strcmp(".bss", "") = 46;
[ 5308] | btf__type_by_id(0x55a877e7d810, 3) {
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 3) = 0x55a877e7d8c8;
0.321 us [ 5308] | } = 0x55a877e7d8c8; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 5) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 5) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.310 us [ 5308] | } = "int"; /* btf__str_by_offset */
0.551 us [ 5308] | } = "int"; /* btf__name_by_offset */
0.160 us [ 5308] | strcmp(".bss", "int") = -59;
[ 5308] | btf__type_by_id(0x55a877e7d810, 4) {
0.101 us [ 5308] | btf_type_by_id(0x55a877e7d810, 4) = 0x55a877e7d8d8;
0.321 us [ 5308] | } = 0x55a877e7d8d8; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 9) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 9) {
0.091 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = "handle_tp"; /* btf__str_by_offset */
0.551 us [ 5308] | } = "handle_tp"; /* btf__name_by_offset */
0.151 us [ 5308] | strcmp(".bss", "handle_tp") = -58;
[ 5308] | btf__type_by_id(0x55a877e7d810, 5) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 5) = 0x55a877e7d8e4;
0.341 us [ 5308] | } = 0x55a877e7d8e4; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 19) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 19) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.341 us [ 5308] | } = "char"; /* btf__str_by_offset */
0.571 us [ 5308] | } = "char"; /* btf__name_by_offset */
0.130 us [ 5308] | strcmp(".bss", "char") = -53;
[ 5308] | btf__type_by_id(0x55a877e7d810, 6) {
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 6) = 0x55a877e7d8f4;
0.330 us [ 5308] | } = 0x55a877e7d8f4; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 0) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.310 us [ 5308] | } = ""; /* btf__str_by_offset */
0.541 us [ 5308] | } = ""; /* btf__name_by_offset */
0.140 us [ 5308] | strcmp(".bss", "") = 46;
[ 5308] | btf__type_by_id(0x55a877e7d810, 7) {
0.091 us [ 5308] | btf_type_by_id(0x55a877e7d810, 7) = 0x55a877e7d90c;
0.321 us [ 5308] | } = 0x55a877e7d90c; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 24) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 24) {
0.081 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = "__ARRAY_SIZE_TYPE__"; /* btf__str_by_offset */
0.602 us [ 5308] | } = "__ARRAY_SIZE_TYPE__"; /* btf__name_by_offset */
0.141 us [ 5308] | strcmp(".bss", "__ARRAY_SIZE_TYPE__") = -49;
[ 5308] | btf__type_by_id(0x55a877e7d810, 8) {
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 8) = 0x55a877e7d91c;
0.321 us [ 5308] | } = 0x55a877e7d91c; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 44) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 44) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = "LICENSE"; /* btf__str_by_offset */
0.541 us [ 5308] | } = "LICENSE"; /* btf__name_by_offset */
0.120 us [ 5308] | strcmp(".bss", "LICENSE") = -30;
[ 5308] | btf__type_by_id(0x55a877e7d810, 9) {
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 9) = 0x55a877e7d92c;
0.321 us [ 5308] | } = 0x55a877e7d92c; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 52) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 52) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = "my_pid"; /* btf__str_by_offset */
0.541 us [ 5308] | } = "my_pid"; /* btf__name_by_offset */
0.130 us [ 5308] | strcmp(".bss", "my_pid") = -63;
[ 5308] | btf__type_by_id(0x55a877e7d810, 10) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 10) = 0x55a877e7d93c;
0.360 us [ 5308] | } = 0x55a877e7d93c; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 0) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.360 us [ 5308] | } = ""; /* btf__str_by_offset */
0.581 us [ 5308] | } = ""; /* btf__name_by_offset */
0.130 us [ 5308] | strcmp(".bss", "") = 46;
[ 5308] | btf__type_by_id(0x55a877e7d810, 11) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 11) = 0x55a877e7d948;
0.311 us [ 5308] | } = 0x55a877e7d948; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 0) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = ""; /* btf__str_by_offset */
0.531 us [ 5308] | } = ""; /* btf__name_by_offset */
0.111 us [ 5308] | strcmp(".bss", "") = 46;
[ 5308] | btf__type_by_id(0x55a877e7d810, 12) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 12) = 0x55a877e7d960;
0.320 us [ 5308] | } = 0x55a877e7d960; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 59) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 59) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.320 us [ 5308] | } = "handle_tp.____fmt"; /* btf__str_by_offset */
0.581 us [ 5308] | } = "handle_tp.____fmt"; /* btf__name_by_offset */
0.170 us [ 5308] | strcmp(".bss", "handle_tp.____fmt") = -58;
[ 5308] | btf__type_by_id(0x55a877e7d810, 13) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 13) = 0x55a877e7d970;
0.320 us [ 5308] | } = 0x55a877e7d970; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 250) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 250) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.320 us [ 5308] | } = "license"; /* btf__str_by_offset */
0.541 us [ 5308] | } = "license"; /* btf__name_by_offset */
0.150 us [ 5308] | strcmp(".bss", "license") = -62;
[ 5308] | btf__type_by_id(0x55a877e7d810, 14) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 14) = 0x55a877e7d988;
0.321 us [ 5308] | } = 0x55a877e7d988; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 258) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 258) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = ".bss"; /* btf__str_by_offset */
0.551 us [ 5308] | } = ".bss"; /* btf__name_by_offset */
0.141 us [ 5308] | strcmp(".bss", ".bss") = 0;
29.577 us [ 5308] | } = 14; /* btf__find_by_name */
322.596 us [ 5308] | } = 0; /* map_fill_btf_type_info */
[ 5308] | map_is_mmapable(0x55a877e7cbd0, 0x55a877e972f0) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 14) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 14) = 0x55a877e7d988;
0.340 us [ 5308] | } = 0x55a877e7d988; /* btf__type_by_id */
[ 5308] | btf_is_datasec(0x55a877e7d988) {
0.130 us [ 5308] | btf_kind(0x55a877e7d988) = 15;
0.481 us [ 5308] | } = 1; /* btf_is_datasec */
0.110 us [ 5308] | btf_var_secinfos(0x55a877e7d988) = 0x55a877e7d994;
0.091 us [ 5308] | btf_vlen(0x55a877e7d988) = 0xf000001;
[ 5308] | btf__type_by_id(0x55a877e7d810, 9) {
0.110 us [ 5308] | btf_type_by_id(0x55a877e7d810, 9) = 0x55a877e7d92c;
0.350 us [ 5308] | } = 0x55a877e7d92c; /* btf__type_by_id */
[ 5308] | btf_is_var(0x55a877e7d92c) {
0.080 us [ 5308] | btf_kind(0x55a877e7d92c) = 14;
0.300 us [ 5308] | } = 1; /* btf_is_var */
0.080 us [ 5308] | btf_var(0x55a877e7d92c) = 0x55a877e7d938;
3.186 us [ 5308] | } = 1; /* map_is_mmapable */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: map '%s' (global data): at sec_idx %d, offset %zu, flags %x.\n") {
0.080 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: map '%s' (global data): at sec_idx %d, offset %zu, flags %x.\n", 0x7ffd6e0575c0) {
49.952 us [ 5308] | vfprintf();
51.153 us [ 5308] | } = 77; /* libbpf_print_fn */
0.091 us [ 5308] | __errno_location();
76.363 us [ 5308] | } /* libbpf_print */
[ 5308] | bpf_map_mmap_sz(4, 1) {
0.491 us [ 5308] | sysconf();
1.042 us [ 5308] | } = 4096; /* bpf_map_mmap_sz */
30.758 us [ 5308] | mmap64(0, 4096, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, -1, 0) = 0x7f1254567000;
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: map %td is "%s"\n") {
0.070 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: map %td is "%s"\n", 0x7ffd6e0575c0) {
79.722 us [ 5308] | vfprintf();
80.324 us [ 5308] | } = 32; /* libbpf_print_fn */
0.090 us [ 5308] | __errno_location();
81.606 us [ 5308] | } /* libbpf_print */
857.866 us [ 5308] | } = 0; /* bpf_object__init_internal_map */
[ 5308] | elf_sec_by_idx(0x55a877e7cbd0, 6) {
0.130 us [ 5308] | elf_getscn();
0.561 us [ 5308] | } = 0x55a877e7d348; /* elf_sec_by_idx */
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7d348) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d348) {
0.130 us [ 5308] | elf64_getshdr();
0.521 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 58) {
0.290 us [ 5308] | elf_strptr();
0.611 us [ 5308] | } = ".rodata"; /* elf_sec_str */
1.693 us [ 5308] | } = ".rodata"; /* elf_sec_name */
[ 5308] | bpf_object__init_internal_map(0x55a877e7cbd0, LIBBPF_MAP_RODATA, ".rodata", 6, &data.6285, 28) {
[ 5308] | bpf_object__add_map(0x55a877e7cbd0) {
0.200 us [ 5308] | libbpf_ensure_mem(0x55a877e7cc38, 0x55a877e7cc48, 160, 2) = 0;
0.862 us [ 5308] | } = 0x55a877e97390; /* bpf_object__add_map */
0.090 us [ 5308] | IS_ERR(0x55a877e97390) = 0x55a877e97300;
0.521 us [ 5308] | strdup(".rodata") = ".rodata";
[ 5308] | internal_map_name(0x55a877e7cbd0, ".rodata") {
0.131 us [ 5308] | strlen(".rodata") = 7;
0.170 us [ 5308] | strchr("rodata", '.') = "NULL";
0.140 us [ 5308] | strlen("minimal_bpf") = 11;
0.822 us [ 5308] | snprintf(0x7ffd6e057670, 16, "%.*s%.*s") = 15;
0.100 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.060 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.071 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.070 us [ 5308] | __ctype_b_loc();
0.060 us [ 5308] | __ctype_b_loc();
0.351 us [ 5308] | strdup("minimal_.rodata") = "minimal_.rodata";
13.515 us [ 5308] | } = "minimal_.rodata"; /* internal_map_name */
[ 5308] | map_fill_btf_type_info(0x55a877e7cbd0, 0x55a877e97390) {
0.130 us [ 5308] | bpf_map__is_struct_ops(0x55a877e97390) = 0;
0.110 us [ 5308] | bpf_map__is_internal(0x55a877e97390) = 1;
[ 5308] | btf__find_by_name(0x55a877e7d810, ".rodata") {
0.100 us [ 5308] | btf__type_cnt(0x55a877e7d810) = 16;
0.261 us [ 5308] | strcmp(".rodata", "void") = -72;
[ 5308] | btf__type_by_id(0x55a877e7d810, 1) {
0.140 us [ 5308] | btf_type_by_id(0x55a877e7d810, 1) = 0x55a877e7d8a8;
0.440 us [ 5308] | } = 0x55a877e7d8a8; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 0) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.101 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.441 us [ 5308] | } = ""; /* btf__str_by_offset */
0.721 us [ 5308] | } = ""; /* btf__name_by_offset */
0.201 us [ 5308] | strcmp(".rodata", "") = 46;
[ 5308] | btf__type_by_id(0x55a877e7d810, 2) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 2) = 0x55a877e7d8b4;
0.321 us [ 5308] | } = 0x55a877e7d8b4; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 0) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.331 us [ 5308] | } = ""; /* btf__str_by_offset */
0.531 us [ 5308] | } = ""; /* btf__name_by_offset */
0.120 us [ 5308] | strcmp(".rodata", "") = 46;
[ 5308] | btf__type_by_id(0x55a877e7d810, 3) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 3) = 0x55a877e7d8c8;
0.320 us [ 5308] | } = 0x55a877e7d8c8; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 5) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 5) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.320 us [ 5308] | } = "int"; /* btf__str_by_offset */
0.551 us [ 5308] | } = "int"; /* btf__name_by_offset */
0.160 us [ 5308] | strcmp(".rodata", "int") = -59;
[ 5308] | btf__type_by_id(0x55a877e7d810, 4) {
0.091 us [ 5308] | btf_type_by_id(0x55a877e7d810, 4) = 0x55a877e7d8d8;
0.321 us [ 5308] | } = 0x55a877e7d8d8; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 9) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 9) {
0.081 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.331 us [ 5308] | } = "handle_tp"; /* btf__str_by_offset */
0.581 us [ 5308] | } = "handle_tp"; /* btf__name_by_offset */
0.151 us [ 5308] | strcmp(".rodata", "handle_tp") = -58;
[ 5308] | btf__type_by_id(0x55a877e7d810, 5) {
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 5) = 0x55a877e7d8e4;
0.321 us [ 5308] | } = 0x55a877e7d8e4; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 19) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 19) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = "char"; /* btf__str_by_offset */
0.551 us [ 5308] | } = "char"; /* btf__name_by_offset */
0.130 us [ 5308] | strcmp(".rodata", "char") = -53;
[ 5308] | btf__type_by_id(0x55a877e7d810, 6) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 6) = 0x55a877e7d8f4;
0.321 us [ 5308] | } = 0x55a877e7d8f4; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 0) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.320 us [ 5308] | } = ""; /* btf__str_by_offset */
0.531 us [ 5308] | } = ""; /* btf__name_by_offset */
0.140 us [ 5308] | strcmp(".rodata", "") = 46;
[ 5308] | btf__type_by_id(0x55a877e7d810, 7) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 7) = 0x55a877e7d90c;
0.321 us [ 5308] | } = 0x55a877e7d90c; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 24) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 24) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = "__ARRAY_SIZE_TYPE__"; /* btf__str_by_offset */
0.581 us [ 5308] | } = "__ARRAY_SIZE_TYPE__"; /* btf__name_by_offset */
0.150 us [ 5308] | strcmp(".rodata", "__ARRAY_SIZE_TYPE__") = -49;
[ 5308] | btf__type_by_id(0x55a877e7d810, 8) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 8) = 0x55a877e7d91c;
0.320 us [ 5308] | } = 0x55a877e7d91c; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 44) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 44) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.330 us [ 5308] | } = "LICENSE"; /* btf__str_by_offset */
0.561 us [ 5308] | } = "LICENSE"; /* btf__name_by_offset */
0.140 us [ 5308] | strcmp(".rodata", "LICENSE") = -30;
[ 5308] | btf__type_by_id(0x55a877e7d810, 9) {
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 9) = 0x55a877e7d92c;
0.321 us [ 5308] | } = 0x55a877e7d92c; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 52) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 52) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = "my_pid"; /* btf__str_by_offset */
0.551 us [ 5308] | } = "my_pid"; /* btf__name_by_offset */
0.121 us [ 5308] | strcmp(".rodata", "my_pid") = -63;
[ 5308] | btf__type_by_id(0x55a877e7d810, 10) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 10) = 0x55a877e7d93c;
0.321 us [ 5308] | } = 0x55a877e7d93c; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 0) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
5.270 us [ 5308] | } = ""; /* btf__str_by_offset */
5.480 us [ 5308] | } = ""; /* btf__name_by_offset */
0.151 us [ 5308] | strcmp(".rodata", "") = 46;
[ 5308] | btf__type_by_id(0x55a877e7d810, 11) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 11) = 0x55a877e7d948;
0.331 us [ 5308] | } = 0x55a877e7d948; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 0) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 0) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = ""; /* btf__str_by_offset */
0.531 us [ 5308] | } = ""; /* btf__name_by_offset */
0.120 us [ 5308] | strcmp(".rodata", "") = 46;
[ 5308] | btf__type_by_id(0x55a877e7d810, 12) {
0.100 us [ 5308] | btf_type_by_id(0x55a877e7d810, 12) = 0x55a877e7d960;
0.321 us [ 5308] | } = 0x55a877e7d960; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 59) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 59) {
0.080 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.321 us [ 5308] | } = "handle_tp.____fmt"; /* btf__str_by_offset */
0.571 us [ 5308] | } = "handle_tp.____fmt"; /* btf__name_by_offset */
0.170 us [ 5308] | strcmp(".rodata", "handle_tp.____fmt") = -58;
[ 5308] | btf__type_by_id(0x55a877e7d810, 13) {
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 13) = 0x55a877e7d970;
0.371 us [ 5308] | } = 0x55a877e7d970; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 250) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 250) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.361 us [ 5308] | } = "license"; /* btf__str_by_offset */
0.581 us [ 5308] | } = "license"; /* btf__name_by_offset */
0.130 us [ 5308] | strcmp(".rodata", "license") = -62;
[ 5308] | btf__type_by_id(0x55a877e7d810, 14) {
0.101 us [ 5308] | btf_type_by_id(0x55a877e7d810, 14) = 0x55a877e7d988;
0.331 us [ 5308] | } = 0x55a877e7d988; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 258) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 258) {
0.091 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.311 us [ 5308] | } = ".bss"; /* btf__str_by_offset */
0.531 us [ 5308] | } = ".bss"; /* btf__name_by_offset */
0.140 us [ 5308] | strcmp(".rodata", ".bss") = 16;
[ 5308] | btf__type_by_id(0x55a877e7d810, 15) {
0.090 us [ 5308] | btf_type_by_id(0x55a877e7d810, 15) = 0x55a877e7d9a0;
0.320 us [ 5308] | } = 0x55a877e7d9a0; /* btf__type_by_id */
[ 5308] | btf__name_by_offset(0x55a877e7d810, 263) {
[ 5308] | btf__str_by_offset(0x55a877e7d810, 263) {
0.090 us [ 5308] | btf_strs_data(0x55a877e7d810) = 0x55a877e7d9b8;
0.330 us [ 5308] | } = ".rodata"; /* btf__str_by_offset */
0.541 us [ 5308] | } = ".rodata"; /* btf__name_by_offset */
0.150 us [ 5308] | strcmp(".rodata", ".rodata") = 0;
27.532 us [ 5308] | } = 15; /* btf__find_by_name */
29.056 us [ 5308] | } = 0; /* map_fill_btf_type_info */
[ 5308] | map_is_mmapable(0x55a877e7cbd0, 0x55a877e97390) {
[ 5308] | btf__type_by_id(0x55a877e7d810, 15) {
0.091 us [ 5308] | btf_type_by_id(0x55a877e7d810, 15) = 0x55a877e7d9a0;
0.351 us [ 5308] | } = 0x55a877e7d9a0; /* btf__type_by_id */
[ 5308] | btf_is_datasec(0x55a877e7d9a0) {
0.110 us [ 5308] | btf_kind(0x55a877e7d9a0) = 15;
0.461 us [ 5308] | } = 1; /* btf_is_datasec */
0.091 us [ 5308] | btf_var_secinfos(0x55a877e7d9a0) = 0x55a877e7d9ac;
0.100 us [ 5308] | btf_vlen(0x55a877e7d9a0) = 0xf000001;
[ 5308] | btf__type_by_id(0x55a877e7d810, 12) {
0.101 us [ 5308] | btf_type_by_id(0x55a877e7d810, 12) = 0x55a877e7d960;
0.332 us [ 5308] | } = 0x55a877e7d960; /* btf__type_by_id */
[ 5308] | btf_is_var(0x55a877e7d960) {
0.081 us [ 5308] | btf_kind(0x55a877e7d960) = 14;
0.311 us [ 5308] | } = 1; /* btf_is_var */
0.080 us [ 5308] | btf_var(0x55a877e7d960) = 0x55a877e7d96c;
2.916 us [ 5308] | } = 0; /* map_is_mmapable */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: map '%s' (global data): at sec_idx %d, offset %zu, flags %x.\n") {
0.070 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: map '%s' (global data): at sec_idx %d, offset %zu, flags %x.\n", 0x7ffd6e0575c0) {
44.154 us [ 5308] | vfprintf();
44.775 us [ 5308] | } = 79; /* libbpf_print_fn */
0.090 us [ 5308] | __errno_location();
46.027 us [ 5308] | } /* libbpf_print */
[ 5308] | bpf_map_mmap_sz(28, 1) {
0.190 us [ 5308] | sysconf();
0.551 us [ 5308] | } = 4096; /* bpf_map_mmap_sz */
16.592 us [ 5308] | mmap64(0, 4096, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, -1, 0) = 0x7f12544ed000;
6.161 us [ 5308] | memcpy(0x7f12544ed000, &data.6285, 28);
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: map %td is "%s"\n") {
0.060 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: map %td is "%s"\n", 0x7ffd6e0575c0) {
119.028 us [ 5308] | vfprintf();
119.688 us [ 5308] | } = 35; /* libbpf_print_fn */
0.100 us [ 5308] | __errno_location();
121.271 us [ 5308] | } /* libbpf_print */
240.539 us [ 5308] | } = 0; /* bpf_object__init_internal_map */
1.104 ms [ 5308] | } = 0; /* bpf_object__init_global_data_maps */
0.641 us [ 5308] | bpf_object__init_kconfig_map(0x55a877e7cbd0) = 0;
[ 5308] | bpf_object_init_struct_ops(0x55a877e7cbd0) {
0.891 us [ 5308] | init_struct_ops_maps(0x55a877e7cbd0, ".struct_ops", -1, 0, 0) = 0;
0.200 us [ 5308] | init_struct_ops_maps(0x55a877e7cbd0, ".struct_ops.link", -1, 0, 8192) = 0;
1.843 us [ 5308] | } = 0; /* bpf_object_init_struct_ops */
1.438 ms [ 5308] | } = 0; /* bpf_object__init_maps */
[ 5308] | bpf_object_init_progs(0x55a877e7cbd0, 0x7ffd6e057880) {
[ 5308] | bpf_object__next_program(0x55a877e7cbd0, 0) {
0.401 us [ 5308] | __bpf_program__iter(0, 0x55a877e7cbd0, 1) = 0x55a877ce0ee0;
0.331 us [ 5308] | prog_is_subprog(0x55a877e7cbd0, 0x55a877ce0ee0) = 0;
2.425 us [ 5308] | } = 0x55a877ce0ee0; /* bpf_object__next_program */
[ 5308] | find_sec_def("tp/syscalls/sys_enter_write") {
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.491 us [ 5308] | strlen("socket") = 6;
0.291 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "socket") = 1;
10.570 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.110 us [ 5308] | strlen("sk_reuseport/migrate") = 20;
0.140 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "sk_reuseport/migrate") = 1;
0.791 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.210 us [ 5308] | strlen("sk_reuseport") = 12;
0.101 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "sk_reuseport") = 1;
0.672 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.090 us [ 5308] | strlen("kprobe+") = 7;
0.280 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "kprobe+", 6) = 9;
0.892 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.070 us [ 5308] | strlen("uprobe+") = 7;
0.231 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "uprobe+", 6) = -1;
0.681 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.100 us [ 5308] | strlen("uprobe.s+") = 9;
0.140 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "uprobe.s+", 8) = -1;
0.651 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.100 us [ 5308] | strlen("kretprobe+") = 10;
0.120 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "kretprobe+", 9) = 9;
0.511 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.070 us [ 5308] | strlen("uretprobe+") = 10;
0.100 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "uretprobe+", 9) = -1;
0.461 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.080 us [ 5308] | strlen("uretprobe.s+") = 12;
0.111 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "uretprobe.s+", 11) = -1;
0.521 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.090 us [ 5308] | strlen("kprobe.multi+") = 13;
0.131 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "kprobe.multi+", 12) = 9;
0.521 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.171 us [ 5308] | strlen("kretprobe.multi+") = 16;
0.250 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "kretprobe.multi+", 15) = 9;
0.792 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.090 us [ 5308] | strlen("uprobe.multi+") = 13;
0.110 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "uprobe.multi+", 12) = -1;
0.501 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.090 us [ 5308] | strlen("uretprobe.multi+") = 16;
0.111 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "uretprobe.multi+", 15) = -1;
0.511 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.080 us [ 5308] | strlen("uprobe.multi.s+") = 15;
0.130 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "uprobe.multi.s+", 14) = -1;
0.561 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.101 us [ 5308] | strlen("uretprobe.multi.s+") = 18;
0.150 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "uretprobe.multi.s+", 17) = -1;
0.581 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.070 us [ 5308] | strlen("ksyscall+") = 9;
0.110 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "ksyscall+", 8) = 9;
0.501 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.080 us [ 5308] | strlen("kretsyscall+") = 12;
0.110 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "kretsyscall+", 11) = 9;
0.490 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.070 us [ 5308] | strlen("usdt+") = 5;
0.110 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "usdt+", 4) = -1;
4.910 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.101 us [ 5308] | strlen("usdt.s+") = 7;
0.120 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "usdt.s+", 6) = -1;
0.621 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.080 us [ 5308] | strlen("tc/ingress") = 10;
0.190 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "tc/ingress") = 13;
0.631 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.080 us [ 5308] | strlen("tc/egress") = 9;
0.131 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "tc/egress") = 13;
0.501 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.080 us [ 5308] | strlen("tcx/ingress") = 11;
0.110 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "tcx/ingress") = 13;
0.531 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.080 us [ 5308] | strlen("tcx/egress") = 10;
0.100 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "tcx/egress") = 13;
0.481 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.091 us [ 5308] | strlen("tc") = 2;
0.100 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "tc") = 13;
0.501 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.080 us [ 5308] | strlen("classifier") = 10;
0.100 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "classifier") = 17;
0.521 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.070 us [ 5308] | strlen("action") = 6;
0.110 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "action") = 19;
0.491 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.070 us [ 5308] | strlen("tracepoint+") = 11;
0.261 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "tracepoint+", 10) = -2;
0.661 us [ 5308] | } = 0; /* sec_def_matches */
[ 5308] | sec_def_matches(§ion_defs, "tp/syscalls/sys_enter_write") {
0.080 us [ 5308] | strlen("tp+") = 3;
0.110 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "tp+", 2) = 0;
0.531 us [ 5308] | } = 1; /* sec_def_matches */
396.606 us [ 5308] | } = §ion_defs; /* find_sec_def */
[ 5308] | bpf_object__next_program(0x55a877e7cbd0, 0x55a877ce0ee0) {
0.170 us [ 5308] | __bpf_program__iter(0x55a877ce0ee0, 0x55a877e7cbd0, 1) = 0;
0.501 us [ 5308] | } = 0; /* bpf_object__next_program */
711.446 us [ 5308] | } = 0; /* bpf_object_init_progs */
[ 5308] | bpf_object__collect_relos(0x55a877e7cbd0) {
[ 5308] | bpf_object__collect_prog_relos(0x55a877e7cbd0, &data.6285, 0x55a877e7d418) {
[ 5308] | elf_sec_by_idx(0x55a877e7cbd0, 3) {
0.231 us [ 5308] | elf_getscn();
1.263 us [ 5308] | } = 0x55a877e7d0d8; /* elf_sec_by_idx */
[ 5308] | elf_sec_data(0x55a877e7cbd0, 0x55a877e7d0d8) {
0.300 us [ 5308] | elf_getdata();
0.792 us [ 5308] | } = 0x55a877e7d0d8; /* elf_sec_data */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 130) {
0.311 us [ 5308] | elf_strptr();
0.631 us [ 5308] | } = ".reltp/syscalls/sys_enter_write"; /* elf_sec_str */
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7d0d8) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d0d8) {
0.101 us [ 5308] | elf64_getshdr();
0.431 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 17) {
0.071 us [ 5308] | elf_strptr();
0.321 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* elf_sec_str */
1.262 us [ 5308] | } = "tp/syscalls/sys_enter_write"; /* elf_sec_name */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: sec '%s': collecting relocation for section(%zu) '%s'\n") {
0.071 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: sec '%s': collecting relocation for section(%zu) '%s'\n", 0x7ffd6e0575a0) {
50.321 us [ 5308] | vfprintf();
50.953 us [ 5308] | } = 114; /* libbpf_print_fn */
0.090 us [ 5308] | __errno_location();
52.505 us [ 5308] | } /* libbpf_print */
0.231 us [ 5308] | elf_rel_by_idx(0x55a877e7d418, 0) = &data.6285;
0.180 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 7) = &data.6285;
[ 5308] | elf_sym_str(0x55a877e7cbd0, 115) {
0.140 us [ 5308] | elf_strptr();
0.431 us [ 5308] | } = "my_pid"; /* elf_sym_str */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: sec '%s': relo #%d: insn #%u against '%s'\n") {
0.070 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: sec '%s': relo #%d: insn #%u against '%s'\n", 0x7ffd6e0575a0) {
3.136 us [ 5308] | vfprintf();
3.517 us [ 5308] | } = 81; /* libbpf_print_fn */
0.070 us [ 5308] | __errno_location();
4.418 us [ 5308] | } /* libbpf_print */
[ 5308] | find_prog_by_sec_insn(0x55a877e7cbd0, 3, 2) {
0.201 us [ 5308] | prog_contains_insn(0x55a877ce0ee0, 2) = 1;
0.791 us [ 5308] | } = 0x55a877ce0ee0; /* find_prog_by_sec_insn */
[ 5308] | libbpf_reallocarray(0, 1, 24) {
0.381 us [ 5308] | realloc(0, 24) = 0x55a877e7dc30;
9.107 us [ 5308] | } = 0x55a877e7dc30; /* libbpf_reallocarray */
[ 5308] | bpf_program__record_reloc(0x55a877ce0ee0, 0x55a877e7dc30, 2, "my_pid", &data.6285, &data.6285) {
0.321 us [ 5308] | is_call_insn(0x55a877d4af70) = 0;
0.150 us [ 5308] | is_ldimm64_insn(0x55a877d4af70) = 1;
0.161 us [ 5308] | sym_is_extern(&data.6285) = 0;
0.080 us [ 5308] | is_call_insn(0x55a877d4af70) = 0;
0.201 us [ 5308] | sym_is_subprog(&data.6285, 0) = 0;
0.271 us [ 5308] | bpf_object__section_to_libbpf_map_type(0x55a877e7cbd0, 5) = LIBBPF_MAP_BSS;
[ 5308] | elf_sec_by_idx(0x55a877e7cbd0, 5) {
0.121 us [ 5308] | elf_getscn();
0.501 us [ 5308] | } = 0x55a877e7d278; /* elf_sec_by_idx */
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7d278) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d278) {
0.090 us [ 5308] | elf64_getshdr();
0.411 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 53) {
0.090 us [ 5308] | elf_strptr();
0.391 us [ 5308] | } = ".bss"; /* elf_sec_str */
1.242 us [ 5308] | } = ".bss"; /* elf_sec_name */
0.280 us [ 5308] | bpf_object__shndx_is_data(0x55a877e7cbd0, 5) = 1;
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: prog '%s': found data map %zd (%s, sec %d, off %zu) for insn %u\n") {
0.071 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: prog '%s': found data map %zd (%s, sec %d, off %zu) for insn %u\n", 0x7ffd6e057500) {
60.907 us [ 5308] | vfprintf();
61.427 us [ 5308] | } = 83; /* libbpf_print_fn */
0.080 us [ 5308] | __errno_location();
62.639 us [ 5308] | } /* libbpf_print */
68.992 us [ 5308] | } = 0; /* bpf_program__record_reloc */
0.161 us [ 5308] | elf_rel_by_idx(0x55a877e7d418, 1) = &data.6285;
0.130 us [ 5308] | elf_sym_by_idx(0x55a877e7cbd0, 5) = &data.6285;
[ 5308] | elf_sec_by_idx(0x55a877e7cbd0, 6) {
0.100 us [ 5308] | elf_getscn();
0.371 us [ 5308] | } = 0x55a877e7d348; /* elf_sec_by_idx */
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7d348) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d348) {
0.090 us [ 5308] | elf64_getshdr();
0.340 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 58) {
0.190 us [ 5308] | elf_strptr();
0.430 us [ 5308] | } = ".rodata"; /* elf_sec_str */
1.222 us [ 5308] | } = ".rodata"; /* elf_sec_name */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: sec '%s': relo #%d: insn #%u against '%s'\n") {
0.070 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: sec '%s': relo #%d: insn #%u against '%s'\n", 0x7ffd6e0575a0) {
22.793 us [ 5308] | vfprintf();
23.204 us [ 5308] | } = 82; /* libbpf_print_fn */
0.080 us [ 5308] | __errno_location();
24.216 us [ 5308] | } /* libbpf_print */
[ 5308] | find_prog_by_sec_insn(0x55a877e7cbd0, 3, 6) {
0.100 us [ 5308] | prog_contains_insn(0x55a877ce0ee0, 6) = 1;
0.481 us [ 5308] | } = 0x55a877ce0ee0; /* find_prog_by_sec_insn */
[ 5308] | libbpf_reallocarray(0x55a877e7dc30, 2, 24) {
0.491 us [ 5308] | realloc(0x55a877e7dc30, 48) = 0x55a877e7dc30;
0.852 us [ 5308] | } = 0x55a877e7dc30; /* libbpf_reallocarray */
[ 5308] | bpf_program__record_reloc(0x55a877ce0ee0, 0x55a877e7dc48, 6, ".rodata", &data.6285, &data.6285) {
0.150 us [ 5308] | is_call_insn(0x55a877d4af90) = 0;
0.110 us [ 5308] | is_ldimm64_insn(0x55a877d4af90) = 1;
0.110 us [ 5308] | sym_is_extern(&data.6285) = 0;
0.080 us [ 5308] | is_call_insn(0x55a877d4af90) = 0;
0.100 us [ 5308] | sym_is_subprog(&data.6285, 0) = 0;
0.151 us [ 5308] | bpf_object__section_to_libbpf_map_type(0x55a877e7cbd0, 6) = LIBBPF_MAP_RODATA;
[ 5308] | elf_sec_by_idx(0x55a877e7cbd0, 6) {
0.081 us [ 5308] | elf_getscn();
0.321 us [ 5308] | } = 0x55a877e7d348; /* elf_sec_by_idx */
[ 5308] | elf_sec_name(0x55a877e7cbd0, 0x55a877e7d348) {
[ 5308] | elf_sec_hdr(0x55a877e7cbd0, 0x55a877e7d348) {
0.071 us [ 5308] | elf64_getshdr();
0.321 us [ 5308] | } = &data.6285; /* elf_sec_hdr */
[ 5308] | elf_sec_str(0x55a877e7cbd0, 58) {
0.110 us [ 5308] | elf_strptr();
0.341 us [ 5308] | } = ".rodata"; /* elf_sec_str */
1.022 us [ 5308] | } = ".rodata"; /* elf_sec_name */
0.090 us [ 5308] | bpf_object__shndx_is_data(0x55a877e7cbd0, 6) = 1;
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: prog '%s': found data map %zd (%s, sec %d, off %zu) for insn %u\n") {
0.070 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: prog '%s': found data map %zd (%s, sec %d, off %zu) for insn %u\n", 0x7ffd6e057500) {
2.925 us [ 5308] | vfprintf();
3.256 us [ 5308] | } = 86; /* libbpf_print_fn */
0.070 us [ 5308] | __errno_location();
3.957 us [ 5308] | } /* libbpf_print */
7.936 us [ 5308] | } = 0; /* bpf_program__record_reloc */
181.823 us [ 5308] | } = 0; /* bpf_object__collect_prog_relos */
[ 5308] | bpf_object__sort_relos(0x55a877e7cbd0) {
[ 5308] | qsort(0x55a877e7dc30, 2, 24, &cmp_relocs) {
0.410 us [ 5308] | cmp_relocs(0x55a877e7dc30, 0x55a877e7dc48) = -1;
1.964 us [ 5308] | } /* qsort */
3.026 us [ 5308] | } /* bpf_object__sort_relos */
563.052 us [ 5308] | } = 0; /* bpf_object__collect_relos */
[ 5308] | bpf_object__elf_finish(0x55a877e7cbd0) {
0.821 us [ 5308] | elf_end();
0.320 us [ 5308] | free(0x55a877e7d6c0);
1.794 us [ 5308] | } /* bpf_object__elf_finish */
12.907 ms [ 5308] | } = 0x55a877e7cbd0; /* bpf_object_open */
[ 5308] | libbpf_ptr(0x55a877e7cbd0) {
0.120 us [ 5308] | IS_ERR(0x55a877e7cbd0) = 0x55a877e7cb00;
0.080 us [ 5308] | IS_ERR(0x55a877e7cbd0) = 0x55a877e7cb00;
0.842 us [ 5308] | } = 0x55a877e7cbd0; /* libbpf_ptr */
13.158 ms [ 5308] | } = 0x55a877e7cbd0; /* bpf_object__open_mem */
[ 5308] | libbpf_get_error(0x55a877e7cbd0) {
0.090 us [ 5308] | IS_ERR_OR_NULL(0x55a877e7cbd0) = 0;
0.461 us [ 5308] | } = 0; /* libbpf_get_error */
[ 5308] | populate_skeleton_maps(0x55a877e7cbd0, 0x55a877e7baf0, 2) {
[ 5308] | bpf_object__find_map_by_name(0x55a877e7cbd0, "minimal_.bss") {
0.271 us [ 5308] | bpf_object__next_map(0x55a877e7cbd0, 0) = 0x55a877e972f0;
0.712 us [ 5308] | map_uses_real_name(0x55a877e972f0) = 0;
0.341 us [ 5308] | strcmp("minimal_.bss", "minimal_.bss") = 0;
10.440 us [ 5308] | } = 0x55a877e972f0; /* bpf_object__find_map_by_name */
[ 5308] | bpf_object__find_map_by_name(0x55a877e7cbd0, "minimal_.rodata") {
0.111 us [ 5308] | bpf_object__next_map(0x55a877e7cbd0, 0) = 0x55a877e972f0;
0.100 us [ 5308] | map_uses_real_name(0x55a877e972f0) = 0;
0.151 us [ 5308] | strcmp("minimal_.bss", "minimal_.rodata") = -16;
[ 5308] | bpf_object__next_map(0x55a877e7cbd0, 0x55a877e972f0) {
0.290 us [ 5308] | __bpf_map__iter(0x55a877e972f0, 0x55a877e7cbd0, 1) = 0x55a877e97390;
0.892 us [ 5308] | } = 0x55a877e97390; /* bpf_object__next_map */
[ 5308] | map_uses_real_name(0x55a877e97390) {
0.161 us [ 5308] | strcmp(".rodata", ".rodata") = 0;
0.441 us [ 5308] | } = 0; /* map_uses_real_name */
0.150 us [ 5308] | strcmp("minimal_.rodata", "minimal_.rodata") = 0;
2.936 us [ 5308] | } = 0x55a877e97390; /* bpf_object__find_map_by_name */
14.427 us [ 5308] | } = 0; /* populate_skeleton_maps */
[ 5308] | populate_skeleton_progs(0x55a877e7cbd0, 0x55a877e7bb30, 1) {
[ 5308] | bpf_object__find_program_by_name(0x55a877e7cbd0, "handle_tp") {
[ 5308] | bpf_object__next_program(0x55a877e7cbd0, 0) {
0.130 us [ 5308] | __bpf_program__iter(0, 0x55a877e7cbd0, 1) = 0x55a877ce0ee0;
0.141 us [ 5308] | prog_is_subprog(0x55a877e7cbd0, 0x55a877ce0ee0) = 0;
0.832 us [ 5308] | } = 0x55a877ce0ee0; /* bpf_object__next_program */
0.100 us [ 5308] | prog_is_subprog(0x55a877e7cbd0, 0x55a877ce0ee0) = 0;
0.221 us [ 5308] | strcmp("handle_tp", "handle_tp") = 0;
1.994 us [ 5308] | } = 0x55a877ce0ee0; /* bpf_object__find_program_by_name */
2.996 us [ 5308] | } = 0; /* populate_skeleton_progs */
13.516 ms [ 5308] | } = 0; /* bpf_object__open_skeleton */
13.798 ms [ 5308] | } = 0x55a877e7ba60; /* minimal_bpf__open_opts */
13.799 ms [ 5308] | } = 0x55a877e7ba60; /* minimal_bpf__open */
0.921 us [ 5308] | getpid() = 5308;
[ 5308] | minimal_bpf__load(0x55a877e7ba60) {
[ 5308] | bpf_object__load_skeleton(0x55a877e7baa0) {
[ 5308] | bpf_object__load(0x55a877e7cbd0) {
[ 5308] | bpf_object_load(0x55a877e7cbd0, 0, "NULL") {
[ 5308] | bpf_object__probe_loading(0x55a877e7cbd0) {
[ 5308] | bump_rlimit_memlock() {
[ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) {
[ 5308] | probe_memcg_account() {
0.300 us [ 5308] | memset(0x7ffd6e0576d0, 0, 116);
0.211 us [ 5308] | ptr_to_u64(0x7ffd6e0576c0) = 0x7ffd6e0576c0;
0.070 us [ 5308] | ptr_to_u64(0x55a877c7d99b) = 0x55a877c7d99b;
[ 5308] | sys_bpf_fd(BPF_PROG_LOAD, 0x7ffd6e0576d0, 116) {
[ 5308] | sys_bpf(BPF_PROG_LOAD, 0x7ffd6e0576d0, 116) {
151.751 us [ 5308] | syscall(321) = 4;
152.772 us [ 5308] | } = 4; /* sys_bpf */
0.270 us [ 5308] | ensure_good_fd(4) = 4;
154.867 us [ 5308] | } = 4; /* sys_bpf_fd */
5.710 us [ 5308] | close(4) = 0;
163.613 us [ 5308] | } = 1; /* probe_memcg_account */
165.508 us [ 5308] | } = 1; /* kernel_supports */
519.980 us [ 5308] | } = 0; /* bump_rlimit_memlock */
[ 5308] | bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "NULL", "GPL", 0x7ffd6e057800, 2, 0) {
[ 5308] | bump_rlimit_memlock() {
0.151 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
1.142 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.301 us [ 5308] | memset(0x7ffd6e057730, 0, 144);
0.091 us [ 5308] | ptr_to_u64(0x55a877c76dcf) = 0x55a877c76dcf;
0.050 us [ 5308] | ptr_to_u64(0x7ffd6e057800) = 0x7ffd6e057800;
0.050 us [ 5308] | ptr_to_u64(0) = 0;
0.050 us [ 5308] | ptr_to_u64(0) = 0;
0.051 us [ 5308] | ptr_to_u64(0) = 0;
[ 5308] | sys_bpf_prog_load(0x7ffd6e057730, 144, 5) {
[ 5308] | sys_bpf_fd(BPF_PROG_LOAD, 0x7ffd6e057730, 144) {
[ 5308] | sys_bpf(BPF_PROG_LOAD, 0x7ffd6e057730, 144) {
34.636 us [ 5308] | syscall(321) = 4;
35.176 us [ 5308] | } = 4; /* sys_bpf */
0.141 us [ 5308] | ensure_good_fd(4) = 4;
36.009 us [ 5308] | } = 4; /* sys_bpf_fd */
36.539 us [ 5308] | } = 4; /* sys_bpf_prog_load */
41.509 us [ 5308] | } = 4; /* bpf_prog_load */
3.527 us [ 5308] | close(4) = 0;
1.697 ms [ 5308] | } = 0; /* bpf_object__probe_loading */
[ 5308] | bpf_object__load_vmlinux_btf(0x55a877e7cbd0, 0) {
[ 5308] | obj_needs_vmlinux_btf(0x55a877e7cbd0) {
[ 5308] | bpf_object__next_program(0x55a877e7cbd0, 0) {
0.141 us [ 5308] | __bpf_program__iter(0, 0x55a877e7cbd0, 1) = 0x55a877ce0ee0;
0.161 us [ 5308] | prog_is_subprog(0x55a877e7cbd0, 0x55a877ce0ee0) = 0;
0.912 us [ 5308] | } = 0x55a877ce0ee0; /* bpf_object__next_program */
0.180 us [ 5308] | prog_needs_vmlinux_btf(0x55a877ce0ee0) = 0;
[ 5308] | bpf_object__next_program(0x55a877e7cbd0, 0x55a877ce0ee0) {
0.110 us [ 5308] | __bpf_program__iter(0x55a877ce0ee0, 0x55a877e7cbd0, 1) = 0;
0.320 us [ 5308] | } = 0; /* bpf_object__next_program */
2.304 us [ 5308] | } = 0; /* obj_needs_vmlinux_btf */
3.056 us [ 5308] | } = 0; /* bpf_object__load_vmlinux_btf */
0.270 us [ 5308] | bpf_object__resolve_externs(0x55a877e7cbd0, "NULL") = 0;
[ 5308] | bpf_object__sanitize_and_load_btf(0x55a877e7cbd0) {
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF) {
[ 5308] | probe_kern_btf() {
[ 5308] | libbpf__load_raw_btf("", 16, "", 5) {
0.571 us [ 5308] | malloc(45) = 0x55a877e7dc70;
0.160 us [ 5308] | memcpy(0x55a877e7dc88, 0x7ffd6e0577a0, 16);
0.090 us [ 5308] | memcpy(0x55a877e7dc98, &strs.11750, 5);
[ 5308] | bpf_btf_load(0x55a877e7dc70, 45, 0) {
[ 5308] | bump_rlimit_memlock() {
0.110 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.410 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.150 us [ 5308] | memset(0x7ffd6e057690, 0, 32);
0.060 us [ 5308] | ptr_to_u64(0x55a877e7dc70) = 0x55a877e7dc70;
[ 5308] | sys_bpf_fd(BPF_BTF_LOAD, 0x7ffd6e057690, 32) {
[ 5308] | sys_bpf(BPF_BTF_LOAD, 0x7ffd6e057690, 32) {
11.392 us [ 5308] | syscall(321) = 4;
11.782 us [ 5308] | } = 4; /* sys_bpf */
0.080 us [ 5308] | ensure_good_fd(4) = 4;
12.323 us [ 5308] | } = 4; /* sys_bpf_fd */
0.441 us [ 5308] | libbpf_err_errno(4) = 4;
15.019 us [ 5308] | } = 4; /* bpf_btf_load */
0.270 us [ 5308] | free(0x55a877e7dc70);
26.831 us [ 5308] | } = 4; /* libbpf__load_raw_btf */
[ 5308] | probe_fd(4) {
3.526 us [ 5308] | close(4) = 0;
3.968 us [ 5308] | } = 1; /* probe_fd */
31.791 us [ 5308] | } = 1; /* probe_kern_btf */
32.412 us [ 5308] | } = 1; /* kernel_supports */
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF_DECL_TAG) {
[ 5308] | probe_kern_btf_decl_tag() {
[ 5308] | libbpf__load_raw_btf("", 48, "", 5) {
0.211 us [ 5308] | malloc(77) = 0x55a877d35ed0;
0.170 us [ 5308] | memcpy(0x55a877d35ee8, 0x7ffd6e057780, 48);
0.090 us [ 5308] | memcpy(0x55a877d35f18, &strs.11775, 5);
[ 5308] | bpf_btf_load(0x55a877d35ed0, 77, 0) {
[ 5308] | bump_rlimit_memlock() {
0.080 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.280 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.111 us [ 5308] | memset(0x7ffd6e057670, 0, 32);
0.070 us [ 5308] | ptr_to_u64(0x55a877d35ed0) = 0x55a877d35ed0;
[ 5308] | sys_bpf_fd(BPF_BTF_LOAD, 0x7ffd6e057670, 32) {
[ 5308] | sys_bpf(BPF_BTF_LOAD, 0x7ffd6e057670, 32) {
7.814 us [ 5308] | syscall(321) = 4;
8.105 us [ 5308] | } = 4; /* sys_bpf */
0.090 us [ 5308] | ensure_good_fd(4) = 4;
8.626 us [ 5308] | } = 4; /* sys_bpf_fd */
0.070 us [ 5308] | libbpf_err_errno(4) = 4;
9.999 us [ 5308] | } = 4; /* bpf_btf_load */
0.110 us [ 5308] | free(0x55a877d35ed0);
11.792 us [ 5308] | } = 4; /* libbpf__load_raw_btf */
[ 5308] | probe_fd(4) {
2.576 us [ 5308] | close(4) = 0;
2.826 us [ 5308] | } = 1; /* probe_fd */
15.039 us [ 5308] | } = 1; /* probe_kern_btf_decl_tag */
15.450 us [ 5308] | } = 1; /* kernel_supports */
0.110 us [ 5308] | prog_is_subprog(0x55a877e7cbd0, 0x55a877ce0ee0) = 0;
0.110 us [ 5308] | btf__type_cnt(0x55a877e7d810) = 16;
0.271 us [ 5308] | strlen("exception_callback:") = 19;
0.171 us [ 5308] | btf_type_by_id(0x55a877e7d810, 1) = 0x55a877e7d8a8;
[ 5308] | btf_is_decl_tag(0x55a877e7d8a8) {
0.070 us [ 5308] | btf_kind(0x55a877e7d8a8) = 2;
0.521 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.090 us [ 5308] | strlen("exception_callback:") = 19;
0.080 us [ 5308] | btf_type_by_id(0x55a877e7d810, 2) = 0x55a877e7d8b4;
[ 5308] | btf_is_decl_tag(0x55a877e7d8b4) {
0.060 us [ 5308] | btf_kind(0x55a877e7d8b4) = 13;
0.211 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.080 us [ 5308] | strlen("exception_callback:") = 19;
0.070 us [ 5308] | btf_type_by_id(0x55a877e7d810, 3) = 0x55a877e7d8c8;
[ 5308] | btf_is_decl_tag(0x55a877e7d8c8) {
0.050 us [ 5308] | btf_kind(0x55a877e7d8c8) = 1;
0.221 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.080 us [ 5308] | strlen("exception_callback:") = 19;
0.061 us [ 5308] | btf_type_by_id(0x55a877e7d810, 4) = 0x55a877e7d8d8;
[ 5308] | btf_is_decl_tag(0x55a877e7d8d8) {
0.060 us [ 5308] | btf_kind(0x55a877e7d8d8) = 12;
0.210 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.080 us [ 5308] | strlen("exception_callback:") = 19;
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 5) = 0x55a877e7d8e4;
[ 5308] | btf_is_decl_tag(0x55a877e7d8e4) {
0.050 us [ 5308] | btf_kind(0x55a877e7d8e4) = 1;
0.210 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.081 us [ 5308] | strlen("exception_callback:") = 19;
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 6) = 0x55a877e7d8f4;
[ 5308] | btf_is_decl_tag(0x55a877e7d8f4) {
0.050 us [ 5308] | btf_kind(0x55a877e7d8f4) = 3;
0.220 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.070 us [ 5308] | strlen("exception_callback:") = 19;
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 7) = 0x55a877e7d90c;
[ 5308] | btf_is_decl_tag(0x55a877e7d90c) {
0.060 us [ 5308] | btf_kind(0x55a877e7d90c) = 1;
0.211 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.070 us [ 5308] | strlen("exception_callback:") = 19;
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 8) = 0x55a877e7d91c;
[ 5308] | btf_is_decl_tag(0x55a877e7d91c) {
0.060 us [ 5308] | btf_kind(0x55a877e7d91c) = 14;
0.201 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.080 us [ 5308] | strlen("exception_callback:") = 19;
0.081 us [ 5308] | btf_type_by_id(0x55a877e7d810, 9) = 0x55a877e7d92c;
[ 5308] | btf_is_decl_tag(0x55a877e7d92c) {
0.050 us [ 5308] | btf_kind(0x55a877e7d92c) = 14;
0.220 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.080 us [ 5308] | strlen("exception_callback:") = 19;
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 10) = 0x55a877e7d93c;
[ 5308] | btf_is_decl_tag(0x55a877e7d93c) {
0.060 us [ 5308] | btf_kind(0x55a877e7d93c) = 10;
0.220 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.071 us [ 5308] | strlen("exception_callback:") = 19;
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 11) = 0x55a877e7d948;
[ 5308] | btf_is_decl_tag(0x55a877e7d948) {
0.050 us [ 5308] | btf_kind(0x55a877e7d948) = 3;
0.221 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.080 us [ 5308] | strlen("exception_callback:") = 19;
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 12) = 0x55a877e7d960;
[ 5308] | btf_is_decl_tag(0x55a877e7d960) {
0.061 us [ 5308] | btf_kind(0x55a877e7d960) = 14;
0.221 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.070 us [ 5308] | strlen("exception_callback:") = 19;
0.060 us [ 5308] | btf_type_by_id(0x55a877e7d810, 13) = 0x55a877e7d970;
[ 5308] | btf_is_decl_tag(0x55a877e7d970) {
0.060 us [ 5308] | btf_kind(0x55a877e7d970) = 15;
0.210 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.070 us [ 5308] | strlen("exception_callback:") = 19;
0.080 us [ 5308] | btf_type_by_id(0x55a877e7d810, 14) = 0x55a877e7d988;
[ 5308] | btf_is_decl_tag(0x55a877e7d988) {
0.061 us [ 5308] | btf_kind(0x55a877e7d988) = 15;
0.231 us [ 5308] | } = 0; /* btf_is_decl_tag */
0.110 us [ 5308] | strlen("exception_callback:") = 19;
0.070 us [ 5308] | btf_type_by_id(0x55a877e7d810, 15) = 0x55a877e7d9a0;
[ 5308] | btf_is_decl_tag(0x55a877e7d9a0) {
0.050 us [ 5308] | btf_kind(0x55a877e7d9a0) = 15;
0.210 us [ 5308] | } = 0; /* btf_is_decl_tag */
[ 5308] | btf_needs_sanitization(0x55a877e7cbd0) {
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF_GLOBAL_FUNC) {
[ 5308] | probe_kern_btf_func_global() {
[ 5308] | libbpf__load_raw_btf("", 48, "", 9) {
0.140 us [ 5308] | malloc(81) = 0x55a877d35ed0;
0.120 us [ 5308] | memcpy(0x55a877d35ee8, 0x7ffd6e057750, 48);
0.080 us [ 5308] | memcpy(0x55a877d35f18, &strs.11760, 9);
[ 5308] | bpf_btf_load(0x55a877d35ed0, 81, 0) {
[ 5308] | bump_rlimit_memlock() {
0.080 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.281 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.110 us [ 5308] | memset(0x7ffd6e057640, 0, 32);
0.050 us [ 5308] | ptr_to_u64(0x55a877d35ed0) = 0x55a877d35ed0;
[ 5308] | sys_bpf_fd(BPF_BTF_LOAD, 0x7ffd6e057640, 32) {
[ 5308] | sys_bpf(BPF_BTF_LOAD, 0x7ffd6e057640, 32) {
6.903 us [ 5308] | syscall(321) = 4;
7.183 us [ 5308] | } = 4; /* sys_bpf */
0.070 us [ 5308] | ensure_good_fd(4) = 4;
7.624 us [ 5308] | } = 4; /* sys_bpf_fd */
0.060 us [ 5308] | libbpf_err_errno(4) = 4;
8.947 us [ 5308] | } = 4; /* bpf_btf_load */
0.080 us [ 5308] | free(0x55a877d35ed0);
10.410 us [ 5308] | } = 4; /* libbpf__load_raw_btf */
[ 5308] | probe_fd(4) {
1.843 us [ 5308] | close(4) = 0;
2.094 us [ 5308] | } = 1; /* probe_fd */
12.896 us [ 5308] | } = 1; /* probe_kern_btf_func_global */
13.406 us [ 5308] | } = 1; /* kernel_supports */
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF_DATASEC) {
[ 5308] | probe_kern_btf_datasec() {
[ 5308] | libbpf__load_raw_btf("", 56, "", 9) {
0.150 us [ 5308] | malloc(89) = 0x55a877d48a60;
0.080 us [ 5308] | memcpy(0x55a877d48a78, 0x7ffd6e057750, 56);
0.070 us [ 5308] | memcpy(0x55a877d48ab0, &strs.11765, 9);
[ 5308] | bpf_btf_load(0x55a877d48a60, 89, 0) {
[ 5308] | bump_rlimit_memlock() {
0.070 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.250 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.081 us [ 5308] | memset(0x7ffd6e057640, 0, 32);
0.060 us [ 5308] | ptr_to_u64(0x55a877d48a60) = 0x55a877d48a60;
[ 5308] | sys_bpf_fd(BPF_BTF_LOAD, 0x7ffd6e057640, 32) {
[ 5308] | sys_bpf(BPF_BTF_LOAD, 0x7ffd6e057640, 32) {
5.099 us [ 5308] | syscall(321) = 4;
5.340 us [ 5308] | } = 4; /* sys_bpf */
0.060 us [ 5308] | ensure_good_fd(4) = 4;
5.731 us [ 5308] | } = 4; /* sys_bpf_fd */
0.060 us [ 5308] | libbpf_err_errno(4) = 4;
6.923 us [ 5308] | } = 4; /* bpf_btf_load */
0.070 us [ 5308] | free(0x55a877d48a60);
8.145 us [ 5308] | } = 4; /* libbpf__load_raw_btf */
[ 5308] | probe_fd(4) {
1.804 us [ 5308] | close(4) = 0;
2.034 us [ 5308] | } = 1; /* probe_fd */
10.499 us [ 5308] | } = 1; /* probe_kern_btf_datasec */
10.821 us [ 5308] | } = 1; /* kernel_supports */
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF_FLOAT) {
[ 5308] | probe_kern_btf_float() {
[ 5308] | libbpf__load_raw_btf("", 12, "", 7) {
0.060 us [ 5308] | malloc(43) = 0x55a877e7dc70;
0.080 us [ 5308] | memcpy(0x55a877e7dc88, 0x7ffd6e05777c, 12);
0.081 us [ 5308] | memcpy(0x55a877e7dc94, &strs.11770, 7);
[ 5308] | bpf_btf_load(0x55a877e7dc70, 43, 0) {
[ 5308] | bump_rlimit_memlock() {
0.060 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.230 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.060 us [ 5308] | memset(0x7ffd6e057660, 0, 32);
0.060 us [ 5308] | ptr_to_u64(0x55a877e7dc70) = 0x55a877e7dc70;
[ 5308] | sys_bpf_fd(BPF_BTF_LOAD, 0x7ffd6e057660, 32) {
[ 5308] | sys_bpf(BPF_BTF_LOAD, 0x7ffd6e057660, 32) {
4.698 us [ 5308] | syscall(321) = 4;
4.930 us [ 5308] | } = 4; /* sys_bpf */
0.060 us [ 5308] | ensure_good_fd(4) = 4;
5.280 us [ 5308] | } = 4; /* sys_bpf_fd */
0.060 us [ 5308] | libbpf_err_errno(4) = 4;
6.262 us [ 5308] | } = 4; /* bpf_btf_load */
0.080 us [ 5308] | free(0x55a877e7dc70);
7.394 us [ 5308] | } = 4; /* libbpf__load_raw_btf */
[ 5308] | probe_fd(4) {
1.522 us [ 5308] | close(4) = 0;
1.734 us [ 5308] | } = 1; /* probe_fd */
9.458 us [ 5308] | } = 1; /* probe_kern_btf_float */
9.858 us [ 5308] | } = 1; /* kernel_supports */
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF_FUNC) {
[ 5308] | probe_kern_btf_func() {
[ 5308] | libbpf__load_raw_btf("", 48, "", 9) {
0.070 us [ 5308] | malloc(81) = 0x55a877d35ed0;
0.080 us [ 5308] | memcpy(0x55a877d35ee8, 0x7ffd6e057750, 48);
0.080 us [ 5308] | memcpy(0x55a877d35f18, &strs.11755, 9);
[ 5308] | bpf_btf_load(0x55a877d35ed0, 81, 0) {
[ 5308] | bump_rlimit_memlock() {
0.060 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.220 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.080 us [ 5308] | memset(0x7ffd6e057640, 0, 32);
0.060 us [ 5308] | ptr_to_u64(0x55a877d35ed0) = 0x55a877d35ed0;
[ 5308] | sys_bpf_fd(BPF_BTF_LOAD, 0x7ffd6e057640, 32) {
[ 5308] | sys_bpf(BPF_BTF_LOAD, 0x7ffd6e057640, 32) {
4.600 us [ 5308] | syscall(321) = 4;
4.830 us [ 5308] | } = 4; /* sys_bpf */
0.070 us [ 5308] | ensure_good_fd(4) = 4;
9.679 us [ 5308] | } = 4; /* sys_bpf_fd */
0.060 us [ 5308] | libbpf_err_errno(4) = 4;
10.792 us [ 5308] | } = 4; /* bpf_btf_load */
0.090 us [ 5308] | free(0x55a877d35ed0);
11.903 us [ 5308] | } = 4; /* libbpf__load_raw_btf */
[ 5308] | probe_fd(4) {
1.913 us [ 5308] | close(4) = 0;
2.134 us [ 5308] | } = 1; /* probe_fd */
14.338 us [ 5308] | } = 1; /* probe_kern_btf_func */
14.618 us [ 5308] | } = 1; /* kernel_supports */
0.080 us [ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF_DECL_TAG) = 1;
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF_TYPE_TAG) {
[ 5308] | probe_kern_btf_type_tag() {
[ 5308] | libbpf__load_raw_btf("", 40, "", 5) {
0.240 us [ 5308] | malloc(69) = 0x55a877d84510;
0.070 us [ 5308] | memcpy(0x55a877d84528, 0x7ffd6e057760, 40);
0.080 us [ 5308] | memcpy(0x55a877d84550, &strs.11780, 5);
[ 5308] | bpf_btf_load(0x55a877d84510, 69, 0) {
[ 5308] | bump_rlimit_memlock() {
0.060 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.251 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.060 us [ 5308] | memset(0x7ffd6e057650, 0, 32);
0.050 us [ 5308] | ptr_to_u64(0x55a877d84510) = 0x55a877d84510;
[ 5308] | sys_bpf_fd(BPF_BTF_LOAD, 0x7ffd6e057650, 32) {
[ 5308] | sys_bpf(BPF_BTF_LOAD, 0x7ffd6e057650, 32) {
5.620 us [ 5308] | syscall(321) = 4;
5.841 us [ 5308] | } = 4; /* sys_bpf */
0.080 us [ 5308] | ensure_good_fd(4) = 4;
6.252 us [ 5308] | } = 4; /* sys_bpf_fd */
0.050 us [ 5308] | libbpf_err_errno(4) = 4;
7.253 us [ 5308] | } = 4; /* bpf_btf_load */
0.080 us [ 5308] | free(0x55a877d84510);
8.486 us [ 5308] | } = 4; /* libbpf__load_raw_btf */
[ 5308] | probe_fd(4) {
1.442 us [ 5308] | close(4) = 0;
1.663 us [ 5308] | } = 1; /* probe_fd */
10.480 us [ 5308] | } = 1; /* probe_kern_btf_type_tag */
10.870 us [ 5308] | } = 1; /* kernel_supports */
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF_ENUM64) {
[ 5308] | probe_kern_btf_enum64() {
[ 5308] | libbpf__load_raw_btf("", 12, "", 8) {
0.060 us [ 5308] | malloc(44) = 0x55a877e7dc70;
0.080 us [ 5308] | memcpy(0x55a877e7dc88, 0x7ffd6e05777c, 12);
0.070 us [ 5308] | memcpy(0x55a877e7dc94, &strs.11871, 8);
[ 5308] | bpf_btf_load(0x55a877e7dc70, 44, 0) {
[ 5308] | bump_rlimit_memlock() {
0.060 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.231 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.070 us [ 5308] | memset(0x7ffd6e057660, 0, 32);
0.061 us [ 5308] | ptr_to_u64(0x55a877e7dc70) = 0x55a877e7dc70;
[ 5308] | sys_bpf_fd(BPF_BTF_LOAD, 0x7ffd6e057660, 32) {
[ 5308] | sys_bpf(BPF_BTF_LOAD, 0x7ffd6e057660, 32) {
4.599 us [ 5308] | syscall(321) = 4;
4.839 us [ 5308] | } = 4; /* sys_bpf */
0.060 us [ 5308] | ensure_good_fd(4) = 4;
5.219 us [ 5308] | } = 4; /* sys_bpf_fd */
0.060 us [ 5308] | libbpf_err_errno(4) = 4;
6.222 us [ 5308] | } = 4; /* bpf_btf_load */
0.070 us [ 5308] | free(0x55a877e7dc70);
7.263 us [ 5308] | } = 4; /* libbpf__load_raw_btf */
[ 5308] | probe_fd(4) {
1.464 us [ 5308] | close(4) = 0;
1.704 us [ 5308] | } = 1; /* probe_fd */
9.288 us [ 5308] | } = 1; /* probe_kern_btf_enum64 */
9.579 us [ 5308] | } = 1; /* kernel_supports */
70.455 us [ 5308] | } = 0; /* btf_needs_sanitization */
[ 5308] | btf_load_into_kernel(0x55a877e7d810, "NULL", 0, 0) {
0.080 us [ 5308] | memset(0x7ffd6e0577a0, 0, 32);
0.230 us [ 5308] | btf_get_raw_data(0x55a877e7d810, 0x7ffd6e057774, 0) = 0x55a877e7d890;
[ 5308] | bpf_btf_load(0x55a877e7d890, 595, 0x7ffd6e0577a0) {
[ 5308] | bump_rlimit_memlock() {
0.060 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.280 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.070 us [ 5308] | memset(0x7ffd6e0576a0, 0, 32);
[ 5308] | libbpf_validate_opts(" ", 28, 32, "bpf_btf_load_opts") {
0.311 us [ 5308] | libbpf_is_mem_zeroed("", 4) = 1;
1.062 us [ 5308] | } = 1; /* libbpf_validate_opts */
0.070 us [ 5308] | ptr_to_u64(0x55a877e7d890) = 0x55a877e7d890;
[ 5308] | sys_bpf_fd(BPF_BTF_LOAD, 0x7ffd6e0576a0, 32) {
[ 5308] | sys_bpf(BPF_BTF_LOAD, 0x7ffd6e0576a0, 32) {
7.885 us [ 5308] | syscall(321) = 4;
8.165 us [ 5308] | } = 4; /* sys_bpf */
0.071 us [ 5308] | ensure_good_fd(4) = 4;
8.536 us [ 5308] | } = 4; /* sys_bpf_fd */
0.060 us [ 5308] | libbpf_err_errno(4) = 4;
10.960 us [ 5308] | } = 4; /* bpf_btf_load */
0.080 us [ 5308] | free(0);
0.080 us [ 5308] | libbpf_err(0) = 0;
12.964 us [ 5308] | } = 0; /* btf_load_into_kernel */
150.407 us [ 5308] | } = 0; /* bpf_object__sanitize_and_load_btf */
[ 5308] | bpf_object__sanitize_maps(0x55a877e7cbd0) {
0.120 us [ 5308] | bpf_object__next_map(0x55a877e7cbd0, 0) = 0x55a877e972f0;
0.060 us [ 5308] | bpf_map__is_internal(0x55a877e972f0) = 1;
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_ARRAY_MMAP) {
[ 5308] | probe_kern_array_mmap() {
0.090 us [ 5308] | memset(0x7ffd6e0577d0, 0, 48);
[ 5308] | bpf_map_create(BPF_MAP_TYPE_ARRAY, "libbpf_mmap", 4, 4, 1, 0x7ffd6e0577d0) {
[ 5308] | bump_rlimit_memlock() {
0.060 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.270 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.100 us [ 5308] | memset(0x7ffd6e057710, 0, 72);
[ 5308] | libbpf_validate_opts("0", 48, 48, "bpf_map_create_opts") {
0.090 us [ 5308] | libbpf_is_mem_zeroed("0", 0) = 1;
0.430 us [ 5308] | } = 1; /* libbpf_validate_opts */
[ 5308] | kernel_supports(0, FEAT_PROG_NAME) {
[ 5308] | probe_kern_prog_name() {
0.070 us [ 5308] | memset(0x7ffd6e057600, 0, 64);
0.160 us [ 5308] | ptr_to_u64(0x55a877c76dcf) = 0x55a877c76dcf;
0.090 us [ 5308] | ptr_to_u64(0x7ffd6e0575f0) = 0x7ffd6e0575f0;
0.361 us [ 5308] | libbpf_strlcpy("", "libbpf_nametest", 16);
[ 5308] | sys_bpf_prog_load(0x7ffd6e057600, 64, 5) {
[ 5308] | sys_bpf_fd(BPF_PROG_LOAD, 0x7ffd6e057600, 64) {
[ 5308] | sys_bpf(BPF_PROG_LOAD, 0x7ffd6e057600, 64) {
30.518 us [ 5308] | syscall(321) = 5;
31.039 us [ 5308] | } = 5; /* sys_bpf */
0.160 us [ 5308] | ensure_good_fd(5) = 5;
31.850 us [ 5308] | } = 5; /* sys_bpf_fd */
32.081 us [ 5308] | } = 5; /* sys_bpf_prog_load */
[ 5308] | probe_fd(5) {
2.455 us [ 5308] | close(5) = 0;
2.887 us [ 5308] | } = 1; /* probe_fd */
41.420 us [ 5308] | } = 1; /* probe_kern_prog_name */
41.860 us [ 5308] | } = 1; /* kernel_supports */
0.410 us [ 5308] | libbpf_strlcpy("", "libbpf_mmap", 16);
[ 5308] | sys_bpf_fd(BPF_MAP_CREATE, 0x7ffd6e057710, 72) {
[ 5308] | sys_bpf(BPF_MAP_CREATE, 0x7ffd6e057710, 72) {
8.646 us [ 5308] | syscall(321) = 5;
8.967 us [ 5308] | } = 5; /* sys_bpf */
0.080 us [ 5308] | ensure_good_fd(5) = 5;
9.427 us [ 5308] | } = 5; /* sys_bpf_fd */
0.070 us [ 5308] | libbpf_err_errno(5) = 5;
54.214 us [ 5308] | } = 5; /* bpf_map_create */
[ 5308] | probe_fd(5) {
51.067 us [ 5308] | close(5) = 0;
51.659 us [ 5308] | } = 1; /* probe_fd */
106.784 us [ 5308] | } = 1; /* probe_kern_array_mmap */
107.074 us [ 5308] | } = 1; /* kernel_supports */
[ 5308] | bpf_object__next_map(0x55a877e7cbd0, 0x55a877e972f0) {
0.140 us [ 5308] | __bpf_map__iter(0x55a877e972f0, 0x55a877e7cbd0, 1) = 0x55a877e97390;
0.561 us [ 5308] | } = 0x55a877e97390; /* bpf_object__next_map */
0.100 us [ 5308] | bpf_map__is_internal(0x55a877e97390) = 1;
0.080 us [ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_ARRAY_MMAP) = 1;
[ 5308] | bpf_object__next_map(0x55a877e7cbd0, 0x55a877e97390) {
0.090 us [ 5308] | __bpf_map__iter(0x55a877e97390, 0x55a877e7cbd0, 1) = 0;
0.281 us [ 5308] | } = 0; /* bpf_object__next_map */
110.250 us [ 5308] | } = 0; /* bpf_object__sanitize_maps */
[ 5308] | bpf_object__init_kern_struct_ops_maps(0x55a877e7cbd0) {
0.070 us [ 5308] | bpf_map__is_struct_ops(0x55a877e972f0) = 0;
0.060 us [ 5308] | bpf_map__is_struct_ops(0x55a877e97390) = 0;
0.721 us [ 5308] | } = 0; /* bpf_object__init_kern_struct_ops_maps */
[ 5308] | bpf_object__create_maps(0x55a877e7cbd0) {
0.111 us [ 5308] | bpf_map__is_internal(0x55a877e972f0) = 1;
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_GLOBAL_DATA) {
[ 5308] | probe_kern_global_data() {
[ 5308] | bpf_map_create(BPF_MAP_TYPE_ARRAY, "libbpf_global", 4, 32, 1, 0) {
[ 5308] | bump_rlimit_memlock() {
0.120 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.471 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.280 us [ 5308] | memset(0x7ffd6e057600, 0, 72);
0.090 us [ 5308] | kernel_supports(0, FEAT_PROG_NAME) = 1;
0.341 us [ 5308] | libbpf_strlcpy("", "libbpf_global", 16);
[ 5308] | sys_bpf_fd(BPF_MAP_CREATE, 0x7ffd6e057600, 72) {
[ 5308] | sys_bpf(BPF_MAP_CREATE, 0x7ffd6e057600, 72) {
11.040 us [ 5308] | syscall(321) = 5;
11.412 us [ 5308] | } = 5; /* sys_bpf */
0.100 us [ 5308] | ensure_good_fd(5) = 5;
11.942 us [ 5308] | } = 5; /* sys_bpf_fd */
0.130 us [ 5308] | libbpf_err_errno(5) = 5;
15.078 us [ 5308] | } = 5; /* bpf_map_create */
[ 5308] | bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "NULL", "GPL", 0x7ffd6e0576d0, 5, 0) {
[ 5308] | bump_rlimit_memlock() {
0.070 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.361 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.100 us [ 5308] | memset(0x7ffd6e057600, 0, 144);
0.080 us [ 5308] | ptr_to_u64(0x55a877c76dcf) = 0x55a877c76dcf;
0.060 us [ 5308] | ptr_to_u64(0x7ffd6e0576d0) = 0x7ffd6e0576d0;
0.061 us [ 5308] | ptr_to_u64(0) = 0;
0.060 us [ 5308] | ptr_to_u64(0) = 0;
0.050 us [ 5308] | ptr_to_u64(0) = 0;
[ 5308] | sys_bpf_prog_load(0x7ffd6e057600, 144, 5) {
[ 5308] | sys_bpf_fd(BPF_PROG_LOAD, 0x7ffd6e057600, 144) {
[ 5308] | sys_bpf(BPF_PROG_LOAD, 0x7ffd6e057600, 144) {
32.793 us [ 5308] | syscall(321) = 6;
33.323 us [ 5308] | } = 6; /* sys_bpf */
0.100 us [ 5308] | ensure_good_fd(6) = 6;
34.075 us [ 5308] | } = 6; /* sys_bpf_fd */
34.306 us [ 5308] | } = 6; /* sys_bpf_prog_load */
36.530 us [ 5308] | } = 6; /* bpf_prog_load */
3.206 us [ 5308] | close(5) = 0;
[ 5308] | probe_fd(6) {
2.475 us [ 5308] | close(6) = 0;
2.765 us [ 5308] | } = 1; /* probe_fd */
59.143 us [ 5308] | } = 1; /* probe_kern_global_data */
59.613 us [ 5308] | } = 1; /* kernel_supports */
0.171 us [ 5308] | map_set_def_max_entries(0x55a877e972f0) = 0;
[ 5308] | bpf_object__create_map(0x55a877e7cbd0, 0x55a877e972f0, 0) {
0.181 us [ 5308] | memset(0x7ffd6e0576d0, 0, 48);
0.140 us [ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_PROG_NAME) = 1;
0.080 us [ 5308] | bpf_map__is_struct_ops(0x55a877e972f0) = 0;
0.150 us [ 5308] | btf__fd(0x55a877e7d810) = 4;
0.080 us [ 5308] | btf__fd(0x55a877e7d810) = 4;
0.190 us [ 5308] | bpf_map_type__is_map_in_map(BPF_MAP_TYPE_ARRAY) = 0;
[ 5308] | bpf_map_create(BPF_MAP_TYPE_ARRAY, "minimal_.bss", 4, 4, 1, 0x7ffd6e0576d0) {
[ 5308] | bump_rlimit_memlock() {
0.100 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.321 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.130 us [ 5308] | memset(0x7ffd6e0575e0, 0, 72);
[ 5308] | libbpf_validate_opts("0", 48, 48, "bpf_map_create_opts") {
0.120 us [ 5308] | libbpf_is_mem_zeroed("0", 0) = 1;
0.711 us [ 5308] | } = 1; /* libbpf_validate_opts */
0.060 us [ 5308] | kernel_supports(0, FEAT_PROG_NAME) = 1;
0.260 us [ 5308] | libbpf_strlcpy("", "minimal_.bss", 16);
[ 5308] | sys_bpf_fd(BPF_MAP_CREATE, 0x7ffd6e0575e0, 72) {
[ 5308] | sys_bpf(BPF_MAP_CREATE, 0x7ffd6e0575e0, 72) {
11.292 us [ 5308] | syscall(321) = 5;
11.633 us [ 5308] | } = 5; /* sys_bpf */
0.110 us [ 5308] | ensure_good_fd(5) = 5;
12.154 us [ 5308] | } = 5; /* sys_bpf_fd */
0.090 us [ 5308] | libbpf_err_errno(5) = 5;
22.513 us [ 5308] | } = 5; /* bpf_map_create */
0.090 us [ 5308] | bpf_map_type__is_map_in_map(BPF_MAP_TYPE_ARRAY) = 0;
25.739 us [ 5308] | } = 0; /* bpf_object__create_map */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: map '%s': created successfully, fd=%d\n") {
0.211 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: map '%s': created successfully, fd=%d\n", 0x7ffd6e0576f0) {
59.825 us [ 5308] | vfprintf();
61.168 us [ 5308] | } = 55; /* libbpf_print_fn */
0.110 us [ 5308] | __errno_location();
411.385 us [ 5308] | } /* libbpf_print */
0.271 us [ 5308] | bpf_map__is_internal(0x55a877e972f0) = 1;
[ 5308] | bpf_object__populate_internal_map(0x55a877e7cbd0, 0x55a877e972f0) {
[ 5308] | bpf_map_update_elem(5, 0x7ffd6e05771c, 0x7f1254567000, 0) {
0.261 us [ 5308] | memset(0x7ffd6e057650, 0, 32);
0.120 us [ 5308] | ptr_to_u64(0x7ffd6e05771c) = 0x7ffd6e05771c;
0.100 us [ 5308] | ptr_to_u64(0x7f1254567000) = 0x7f1254567000;
[ 5308] | sys_bpf(BPF_MAP_UPDATE_ELEM, 0x7ffd6e057650, 32) {
3.767 us [ 5308] | syscall(321) = 0;
4.268 us [ 5308] | } = 0; /* sys_bpf */
0.190 us [ 5308] | libbpf_err_errno(0) = 0;
6.572 us [ 5308] | } = 0; /* bpf_map_update_elem */
7.544 us [ 5308] | } = 0; /* bpf_object__populate_internal_map */
0.101 us [ 5308] | bpf_map__is_internal(0x55a877e97390) = 1;
0.220 us [ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_GLOBAL_DATA) = 1;
0.120 us [ 5308] | map_set_def_max_entries(0x55a877e97390) = 0;
[ 5308] | bpf_object__create_map(0x55a877e7cbd0, 0x55a877e97390, 0) {
0.171 us [ 5308] | memset(0x7ffd6e0576d0, 0, 48);
0.140 us [ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_PROG_NAME) = 1;
0.170 us [ 5308] | bpf_map__is_struct_ops(0x55a877e97390) = 0;
0.140 us [ 5308] | btf__fd(0x55a877e7d810) = 4;
0.100 us [ 5308] | btf__fd(0x55a877e7d810) = 4;
0.121 us [ 5308] | bpf_map_type__is_map_in_map(BPF_MAP_TYPE_ARRAY) = 0;
[ 5308] | bpf_map_create(BPF_MAP_TYPE_ARRAY, "minimal_.rodata", 4, 28, 1, 0x7ffd6e0576d0) {
[ 5308] | bump_rlimit_memlock() {
0.171 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.591 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.191 us [ 5308] | memset(0x7ffd6e0575e0, 0, 72);
[ 5308] | libbpf_validate_opts("0", 48, 48, "bpf_map_create_opts") {
0.221 us [ 5308] | libbpf_is_mem_zeroed("0", 0) = 1;
1.042 us [ 5308] | } = 1; /* libbpf_validate_opts */
0.141 us [ 5308] | kernel_supports(0, FEAT_PROG_NAME) = 1;
0.361 us [ 5308] | libbpf_strlcpy("", "minimal_.rodata", 16);
[ 5308] | sys_bpf_fd(BPF_MAP_CREATE, 0x7ffd6e0575e0, 72) {
[ 5308] | sys_bpf(BPF_MAP_CREATE, 0x7ffd6e0575e0, 72) {
12.143 us [ 5308] | syscall(321) = 6;
12.654 us [ 5308] | } = 6; /* sys_bpf */
0.170 us [ 5308] | ensure_good_fd(6) = 6;
13.456 us [ 5308] | } = 6; /* sys_bpf_fd */
0.140 us [ 5308] | libbpf_err_errno(6) = 6;
17.763 us [ 5308] | } = 6; /* bpf_map_create */
0.130 us [ 5308] | bpf_map_type__is_map_in_map(BPF_MAP_TYPE_ARRAY) = 0;
21.200 us [ 5308] | } = 0; /* bpf_object__create_map */
[ 5308] | libbpf_print(LIBBPF_DEBUG, "libbpf: map '%s': created successfully, fd=%d\n") {
0.090 us [ 5308] | __errno_location();
[ 5308] | libbpf_print_fn(LIBBPF_DEBUG, "libbpf: map '%s': created successfully, fd=%d\n", 0x7ffd6e0576f0) {
99.931 us [ 5308] | vfprintf();
100.683 us [ 5308] | } = 58; /* libbpf_print_fn */
0.111 us [ 5308] | __errno_location();
102.356 us [ 5308] | } /* libbpf_print */
0.210 us [ 5308] | bpf_map__is_internal(0x55a877e97390) = 1;
[ 5308] | bpf_object__populate_internal_map(0x55a877e7cbd0, 0x55a877e97390) {
[ 5308] | bpf_map_update_elem(6, 0x7ffd6e05771c, 0x7f12544ed000, 0) {
0.191 us [ 5308] | memset(0x7ffd6e057650, 0, 32);
0.120 us [ 5308] | ptr_to_u64(0x7ffd6e05771c) = 0x7ffd6e05771c;
0.110 us [ 5308] | ptr_to_u64(0x7f12544ed000) = 0x7f12544ed000;
[ 5308] | sys_bpf(BPF_MAP_UPDATE_ELEM, 0x7ffd6e057650, 32) {
2.023 us [ 5308] | syscall(321) = 0;
2.405 us [ 5308] | } = 0; /* sys_bpf */
0.150 us [ 5308] | libbpf_err_errno(0) = 0;
4.208 us [ 5308] | } = 0; /* bpf_map_update_elem */
[ 5308] | bpf_map_freeze(6) {
0.290 us [ 5308] | memset(0x7ffd6e057650, 0, 4);
[ 5308] | sys_bpf(BPF_MAP_FREEZE, 0x7ffd6e057650, 4) {
1.913 us [ 5308] | syscall(321) = 0;
2.365 us [ 5308] | } = 0; /* sys_bpf */
0.110 us [ 5308] | libbpf_err_errno(0) = 0;
4.809 us [ 5308] | } = 0; /* bpf_map_freeze */
380.586 us [ 5308] | } = 0; /* bpf_object__populate_internal_map */
1.016 ms [ 5308] | } = 0; /* bpf_object__create_maps */
[ 5308] | bpf_object__relocate(0x55a877e7cbd0, "NULL") {
326.788 us [ 5308] | bpf_object__relocate_core(0x55a877e7cbd0, "NULL") = 0;
[ 5308] | bpf_object__sort_relos(0x55a877e7cbd0) {
[ 5308] | qsort(0x55a877e7dc30, 2, 24, &cmp_relocs) {
0.191 us [ 5308] | cmp_relocs(0x55a877e7dc30, 0x55a877e7dc48) = -1;
1.082 us [ 5308] | } /* qsort */
1.934 us [ 5308] | } /* bpf_object__sort_relos */
0.161 us [ 5308] | prog_is_subprog(0x55a877e7cbd0, 0x55a877ce0ee0) = 0;
[ 5308] | bpf_object__relocate_calls(0x55a877e7cbd0, 0x55a877ce0ee0) {
0.060 us [ 5308] | prog_is_subprog(0x55a877e7cbd0, 0x55a877ce0ee0) = 0;
[ 5308] | bpf_object__reloc_code(0x55a877e7cbd0, 0x55a877ce0ee0, 0x55a877ce0ee0) {
[ 5308] | reloc_prog_func_and_line_info(0x55a877e7cbd0, 0x55a877ce0ee0, 0x55a877ce0ee0) {
0.130 us [ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF_FUNC) = 1;
[ 5308] | adjust_prog_btf_ext_info(0x55a877e7cbd0, 0x55a877ce0ee0, 0x55a877e7daf8, 0x55a877ce0f80, 0x55a877ce0f8c, 0x55a877ce0f88) {
0.300 us [ 5308] | realloc(0, 8) = 0x55a877e7dcb0;
0.130 us [ 5308] | memcpy(0x55a877e7dcb0, 0x55a877ce28fc, 8);
1.793 us [ 5308] | } = 0; /* adjust_prog_btf_ext_info */
[ 5308] | adjust_prog_btf_ext_info(0x55a877e7cbd0, 0x55a877ce0ee0, 0x55a877e7db18, 0x55a877ce0f90, 0x55a877ce0f9c, 0x55a877ce0f98) {
0.110 us [ 5308] | realloc(0, 96) = 0x55a877d48a60;
0.121 us [ 5308] | memcpy(0x55a877d48a60, 0x55a877ce2910, 96);
0.732 us [ 5308] | } = 0; /* adjust_prog_btf_ext_info */
11.542 us [ 5308] | } = 0; /* reloc_prog_func_and_line_info */
0.170 us [ 5308] | insn_is_subprog_call(0x55a877d4af60) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4af60) {
0.070 us [ 5308] | is_ldimm64_insn(0x55a877d4af60) = 0;
0.591 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.070 us [ 5308] | insn_is_subprog_call(0x55a877d4af68) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4af68) {
0.060 us [ 5308] | is_ldimm64_insn(0x55a877d4af68) = 0;
0.210 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.050 us [ 5308] | insn_is_subprog_call(0x55a877d4af70) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4af70) {
0.050 us [ 5308] | is_ldimm64_insn(0x55a877d4af70) = 1;
0.231 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.050 us [ 5308] | insn_is_subprog_call(0x55a877d4af78) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4af78) {
0.060 us [ 5308] | is_ldimm64_insn(0x55a877d4af78) = 0;
0.231 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.060 us [ 5308] | insn_is_subprog_call(0x55a877d4af80) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4af80) {
0.061 us [ 5308] | is_ldimm64_insn(0x55a877d4af80) = 0;
0.211 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.070 us [ 5308] | insn_is_subprog_call(0x55a877d4af88) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4af88) {
0.060 us [ 5308] | is_ldimm64_insn(0x55a877d4af88) = 0;
0.221 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.060 us [ 5308] | insn_is_subprog_call(0x55a877d4af90) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4af90) {
0.060 us [ 5308] | is_ldimm64_insn(0x55a877d4af90) = 1;
0.210 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.060 us [ 5308] | insn_is_subprog_call(0x55a877d4af98) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4af98) {
0.050 us [ 5308] | is_ldimm64_insn(0x55a877d4af98) = 0;
0.210 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.061 us [ 5308] | insn_is_subprog_call(0x55a877d4afa0) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4afa0) {
0.060 us [ 5308] | is_ldimm64_insn(0x55a877d4afa0) = 0;
0.210 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.050 us [ 5308] | insn_is_subprog_call(0x55a877d4afa8) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4afa8) {
0.050 us [ 5308] | is_ldimm64_insn(0x55a877d4afa8) = 0;
0.210 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.070 us [ 5308] | insn_is_subprog_call(0x55a877d4afb0) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4afb0) {
0.050 us [ 5308] | is_ldimm64_insn(0x55a877d4afb0) = 0;
0.221 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.050 us [ 5308] | insn_is_subprog_call(0x55a877d4afb8) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4afb8) {
0.051 us [ 5308] | is_ldimm64_insn(0x55a877d4afb8) = 0;
0.211 us [ 5308] | } = 0; /* insn_is_pseudo_func */
0.080 us [ 5308] | insn_is_subprog_call(0x55a877d4afc0) = 0;
[ 5308] | insn_is_pseudo_func(0x55a877d4afc0) {
0.050 us [ 5308] | is_ldimm64_insn(0x55a877d4afc0) = 0;
0.211 us [ 5308] | } = 0; /* insn_is_pseudo_func */
19.557 us [ 5308] | } = 0; /* bpf_object__reloc_code */
20.118 us [ 5308] | } = 0; /* bpf_object__relocate_calls */
0.070 us [ 5308] | prog_is_subprog(0x55a877e7cbd0, 0x55a877ce0ee0) = 0;
0.261 us [ 5308] | bpf_object__relocate_data(0x55a877e7cbd0, 0x55a877ce0ee0) = 0;
835.211 us [ 5308] | } = 0; /* bpf_object__relocate */
[ 5308] | bpf_object__load_progs(0x55a877e7cbd0, 0) {
[ 5308] | bpf_object__sanitize_prog(0x55a877e7cbd0, 0x55a877ce0ee0) {
0.270 us [ 5308] | insn_is_helper_call(0x55a877d4af60, <ENUM>) = 1;
0.080 us [ 5308] | insn_is_helper_call(0x55a877d4af68, <ENUM>) = 0;
0.060 us [ 5308] | insn_is_helper_call(0x55a877d4af70, <ENUM>) = 0;
0.060 us [ 5308] | insn_is_helper_call(0x55a877d4af78, <ENUM>) = 0;
0.050 us [ 5308] | insn_is_helper_call(0x55a877d4af80, <ENUM>) = 0;
0.070 us [ 5308] | insn_is_helper_call(0x55a877d4af88, <ENUM>) = 0;
0.070 us [ 5308] | insn_is_helper_call(0x55a877d4af90, <ENUM>) = 0;
0.060 us [ 5308] | insn_is_helper_call(0x55a877d4af98, <ENUM>) = 0;
0.060 us [ 5308] | insn_is_helper_call(0x55a877d4afa0, <ENUM>) = 0;
0.060 us [ 5308] | insn_is_helper_call(0x55a877d4afa8, <ENUM>) = 0;
0.071 us [ 5308] | insn_is_helper_call(0x55a877d4afb0, <ENUM>) = 1;
0.060 us [ 5308] | insn_is_helper_call(0x55a877d4afb8, <ENUM>) = 0;
0.070 us [ 5308] | insn_is_helper_call(0x55a877d4afc0, <ENUM>) = 0;
2.735 us [ 5308] | } = 0; /* bpf_object__sanitize_prog */
0.070 us [ 5308] | prog_is_subprog(0x55a877e7cbd0, 0x55a877ce0ee0) = 0;
[ 5308] | bpf_object_load_prog(0x55a877e7cbd0, 0x55a877ce0ee0, 0x55a877d4af60, 13, "Dual BSD/GPL", 0x60500, 0x55a877ce0f58) {
0.170 us [ 5308] | memset(0x7ffd6e0576e0, 0, 112);
0.070 us [ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_PROG_NAME) = 1;
[ 5308] | bpf_object__btf_fd(0x55a877e7cbd0) {
0.090 us [ 5308] | btf__fd(0x55a877e7d810) = 4;
0.641 us [ 5308] | } = 4; /* bpf_object__btf_fd */
0.070 us [ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_BTF_FUNC) = 1;
0.231 us [ 5308] | libbpf_prepare_prog_load(0x55a877ce0ee0, 0x7ffd6e0576e0, 0) = 0;
[ 5308] | bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, "handle_tp", "Dual BSD/GPL", 0x55a877d4af60, 13, 0x7ffd6e0576e0) {
[ 5308] | bump_rlimit_memlock() {
0.100 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.351 us [ 5308] | } = 0; /* bump_rlimit_memlock */
[ 5308] | libbpf_validate_opts("p", 108, 112, "bpf_prog_load_opts") {
0.150 us [ 5308] | libbpf_is_mem_zeroed("", 4) = 1;
5.370 us [ 5308] | } = 1; /* libbpf_validate_opts */
0.131 us [ 5308] | memset(0x7ffd6e0575a0, 0, 144);
0.080 us [ 5308] | kernel_supports(0, FEAT_PROG_NAME) = 1;
0.210 us [ 5308] | libbpf_strlcpy("", "handle_tp", 16);
0.080 us [ 5308] | ptr_to_u64(0x55a877e7cbe0) = 0x55a877e7cbe0;
0.070 us [ 5308] | ptr_to_u64(0x55a877d4af60) = 0x55a877d4af60;
0.060 us [ 5308] | ptr_to_u64(0x55a877e7dcb0) = 0x55a877e7dcb0;
0.061 us [ 5308] | ptr_to_u64(0x55a877d48a60) = 0x55a877d48a60;
0.060 us [ 5308] | ptr_to_u64(0) = 0;
[ 5308] | sys_bpf_prog_load(0x7ffd6e0575a0, 144, 5) {
[ 5308] | sys_bpf_fd(BPF_PROG_LOAD, 0x7ffd6e0575a0, 144) {
[ 5308] | sys_bpf(BPF_PROG_LOAD, 0x7ffd6e0575a0, 144) {
365.286 us [ 5308] | syscall(321) = 7;
366.438 us [ 5308] | } = 7; /* sys_bpf */
0.310 us [ 5308] | ensure_good_fd(7) = 7;
367.991 us [ 5308] | } = 7; /* sys_bpf_fd */
368.272 us [ 5308] | } = 7; /* sys_bpf_prog_load */
376.818 us [ 5308] | } = 7; /* bpf_prog_load */
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_PROG_BIND_MAP) {
[ 5308] | probe_prog_bind_map() {
[ 5308] | bpf_map_create(BPF_MAP_TYPE_ARRAY, "libbpf_det_bind", 4, 32, 1, 0) {
[ 5308] | bump_rlimit_memlock() {
0.130 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.531 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.241 us [ 5308] | memset(0x7ffd6e0574a0, 0, 72);
0.090 us [ 5308] | kernel_supports(0, FEAT_PROG_NAME) = 1;
0.410 us [ 5308] | libbpf_strlcpy("", "libbpf_det_bind", 16);
[ 5308] | sys_bpf_fd(BPF_MAP_CREATE, 0x7ffd6e0574a0, 72) {
[ 5308] | sys_bpf(BPF_MAP_CREATE, 0x7ffd6e0574a0, 72) {
9.517 us [ 5308] | syscall(321) = 8;
9.949 us [ 5308] | } = 8; /* sys_bpf */
0.100 us [ 5308] | ensure_good_fd(8) = 8;
10.530 us [ 5308] | } = 8; /* sys_bpf_fd */
0.130 us [ 5308] | libbpf_err_errno(8) = 8;
13.695 us [ 5308] | } = 8; /* bpf_map_create */
[ 5308] | bpf_prog_load(BPF_PROG_TYPE_SOCKET_FILTER, "NULL", "GPL", 0x7ffd6e057570, 2, 0) {
[ 5308] | bump_rlimit_memlock() {
0.071 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.341 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.110 us [ 5308] | memset(0x7ffd6e0574a0, 0, 144);
0.070 us [ 5308] | ptr_to_u64(0x55a877c76dcf) = 0x55a877c76dcf;
0.070 us [ 5308] | ptr_to_u64(0x7ffd6e057570) = 0x7ffd6e057570;
0.060 us [ 5308] | ptr_to_u64(0) = 0;
0.060 us [ 5308] | ptr_to_u64(0) = 0;
0.060 us [ 5308] | ptr_to_u64(0) = 0;
[ 5308] | sys_bpf_prog_load(0x7ffd6e0574a0, 144, 5) {
[ 5308] | sys_bpf_fd(BPF_PROG_LOAD, 0x7ffd6e0574a0, 144) {
[ 5308] | sys_bpf(BPF_PROG_LOAD, 0x7ffd6e0574a0, 144) {
27.343 us [ 5308] | syscall(321) = 9;
27.903 us [ 5308] | } = 9; /* sys_bpf */
0.110 us [ 5308] | ensure_good_fd(9) = 9;
28.635 us [ 5308] | } = 9; /* sys_bpf_fd */
28.825 us [ 5308] | } = 9; /* sys_bpf_prog_load */
31.099 us [ 5308] | } = 9; /* bpf_prog_load */
[ 5308] | bpf_prog_bind_map(9, 8, 0) {
0.160 us [ 5308] | memset(0x7ffd6e0574a0, 0, 12);
[ 5308] | sys_bpf(BPF_PROG_BIND_MAP, 0x7ffd6e0574a0, 12) {
1.153 us [ 5308] | syscall(321) = 0;
1.413 us [ 5308] | } = 0; /* sys_bpf */
0.060 us [ 5308] | libbpf_err_errno(0) = 0;
2.544 us [ 5308] | } = 0; /* bpf_prog_bind_map */
3.156 us [ 5308] | close(8) = 0;
1.965 us [ 5308] | close(9) = 0;
53.693 us [ 5308] | } = 1; /* probe_prog_bind_map */
54.374 us [ 5308] | } = 1; /* kernel_supports */
0.180 us [ 5308] | bpf_map__fd(0x55a877e97390) = 6;
[ 5308] | bpf_prog_bind_map(7, 6, 0) {
0.081 us [ 5308] | memset(0x7ffd6e0575a0, 0, 12);
[ 5308] | sys_bpf(BPF_PROG_BIND_MAP, 0x7ffd6e0575a0, 12) {
0.661 us [ 5308] | syscall(321) = 0;
0.882 us [ 5308] | } = 0; /* sys_bpf */
0.070 us [ 5308] | libbpf_err_errno(0) = 0;
1.523 us [ 5308] | } = 0; /* bpf_prog_bind_map */
0.181 us [ 5308] | free(0);
438.746 us [ 5308] | } = 0; /* bpf_object_load_prog */
[ 5308] | bpf_object__free_relocs(0x55a877e7cbd0) {
0.170 us [ 5308] | free(0x55a877e7dc30);
0.401 us [ 5308] | } /* bpf_object__free_relocs */
443.346 us [ 5308] | } = 0; /* bpf_object__load_progs */
0.190 us [ 5308] | bpf_object_init_prog_arrays(0x55a877e7cbd0) = 0;
[ 5308] | bpf_object_prepare_struct_ops(0x55a877e7cbd0) {
0.080 us [ 5308] | bpf_map__is_struct_ops(0x55a877e972f0) = 0;
0.061 us [ 5308] | bpf_map__is_struct_ops(0x55a877e97390) = 0;
0.772 us [ 5308] | } = 0; /* bpf_object_prepare_struct_ops */
0.060 us [ 5308] | free(0);
0.081 us [ 5308] | free(0);
[ 5308] | btf__free(0) {
0.130 us [ 5308] | IS_ERR_OR_NULL(0) = 1;
0.501 us [ 5308] | } /* btf__free */
4.644 ms [ 5308] | } = 0; /* bpf_object_load */
4.645 ms [ 5308] | } = 0; /* bpf_object__load */
[ 5308] | bpf_map_mmap_sz(4, 1) {
0.201 us [ 5308] | sysconf();
0.611 us [ 5308] | } = 4096; /* bpf_map_mmap_sz */
0.070 us [ 5308] | bpf_map__fd(0x55a877e972f0) = 5;
33.053 us [ 5308] | mmap64(0x7f1254567000, 4096, PROT_WRITE|PROT_READ, MAP_FIXED|MAP_SHARED, 5, 0) = 0x7f1254567000;
[ 5308] | bpf_map_mmap_sz(28, 1) {
0.060 us [ 5308] | sysconf();
0.410 us [ 5308] | } = 4096; /* bpf_map_mmap_sz */
0.080 us [ 5308] | bpf_map__fd(0x55a877e97390) = 6;
4.964 ms [ 5308] | } = 0; /* bpf_object__load_skeleton */
4.965 ms [ 5308] | } = 0; /* minimal_bpf__load */
[ 5308] | minimal_bpf__attach(0x55a877e7ba60) {
[ 5308] | bpf_object__attach_skeleton(0x55a877e7baa0) {
[ 5308] | attach_tp(0x55a877ce0ee0, 0, 0x55a877e7ba88) {
323.018 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "tp") = 47;
0.892 us [ 5308] | strcmp("tp/syscalls/sys_enter_write", "tracepoint") = -2;
0.862 us [ 5308] | strdup("tp/syscalls/sys_enter_write") = "tp/syscalls/sys_enter_write";
0.561 us [ 5308] | strncmp("tp/syscalls/sys_enter_write", "tp/", 3) = 0;
0.290 us [ 5308] | strchr("syscalls/sys_enter_write", '/') = "/sys_enter_write";
[ 5308] | bpf_program__attach_tracepoint(0x55a877ce0ee0, "syscalls", "sys_enter_write") {
[ 5308] | bpf_program__attach_tracepoint_opts(0x55a877ce0ee0, "syscalls", "sys_enter_write", 0) {
0.290 us [ 5308] | memset(0x7ffd6e0577c0, 0, 24);
[ 5308] | perf_event_open_tracepoint("syscalls", "sys_enter_write") {
[ 5308] | determine_tracepoint_id("syscalls", "sys_enter_write") {
[ 5308] | tracefs_path() {
[ 5308] | use_debugfs() {
18.806 us [ 5308] | faccessat();
19.929 us [ 5308] | } = 1; /* use_debugfs */
20.539 us [ 5308] | } = "/sys/kernel/debug/tracing"; /* tracefs_path */
1.573 us [ 5308] | snprintf(0x7ffd6e056610, 4096, "%s/events/%s/%s/id") = 60;
[ 5308] | parse_uint_from_file("/sys/kernel/debug/tracing/events/syscalls/sys_enter_write/id", "%d\n") {
18.586 us [ 5308] | fopen64("/sys/kernel/debug/tracing/events/syscalls/sys_enter_write/id", "re") = 0x55a877c9f130;
13.436 us [ 5308] | fscanf();
2.835 us [ 5308] | fclose(0x55a877c9f130) = 0;
337.793 us [ 5308] | } = 847; /* parse_uint_from_file */
668.331 us [ 5308] | } = 847; /* determine_tracepoint_id */
0.200 us [ 5308] | memset(0x7ffd6e057660, 0, 136);
1.535 ms [ 5308] | syscall(298) = 8;
2.205 ms [ 5308] | } = 8; /* perf_event_open_tracepoint */
[ 5308] | bpf_program__attach_perf_event_opts(0x55a877ce0ee0, 8, 0x7ffd6e0577c0) {
[ 5308] | libbpf_validate_opts("", 17, 24, "bpf_perf_event_opts") {
0.270 us [ 5308] | libbpf_is_mem_zeroed("", 7) = 1;
1.303 us [ 5308] | } = 1; /* libbpf_validate_opts */
0.290 us [ 5308] | bpf_program__fd(0x55a877ce0ee0) = 7;
0.931 us [ 5308] | calloc(1, 56) = 0x55a877e7dd00;
[ 5308] | kernel_supports(0x55a877e7cbd0, FEAT_PERF_LINK) {
[ 5308] | probe_perf_link() {
[ 5308] | bpf_prog_load(BPF_PROG_TYPE_TRACEPOINT, "NULL", "GPL", 0x7ffd6e0575b0, 2, 0) {
[ 5308] | bump_rlimit_memlock() {
0.090 us [ 5308] | kernel_supports(0, FEAT_MEMCG_ACCOUNT) = 1;
0.380 us [ 5308] | } = 0; /* bump_rlimit_memlock */
0.180 us [ 5308] | memset(0x7ffd6e0574f0, 0, 144);
0.070 us [ 5308] | ptr_to_u64(0x55a877c76dcf) = 0x55a877c76dcf;
0.060 us [ 5308] | ptr_to_u64(0x7ffd6e0575b0) = 0x7ffd6e0575b0;
0.071 us [ 5308] | ptr_to_u64(0) = 0;
0.050 us [ 5308] | ptr_to_u64(0) = 0;
0.060 us [ 5308] | ptr_to_u64(0) = 0;
[ 5308] | sys_bpf_prog_load(0x7ffd6e0574f0, 144, 5) {
[ 5308] | sys_bpf_fd(BPF_PROG_LOAD, 0x7ffd6e0574f0, 144) {
[ 5308] | sys_bpf(BPF_PROG_LOAD, 0x7ffd6e0574f0, 144) {
33.845 us [ 5308] | syscall(321) = 9;
34.315 us [ 5308] | } = 9; /* sys_bpf */
0.140 us [ 5308] | ensure_good_fd(9) = 9;
35.157 us [ 5308] | } = 9; /* sys_bpf_fd */
35.378 us [ 5308] | } = 9; /* sys_bpf_prog_load */
37.822 us [ 5308] | } = 9; /* bpf_prog_load */
[ 5308] | bpf_link_create(9, -1, BPF_PERF_EVENT, 0) {
0.531 us [ 5308] | memset(0x7ffd6e0574f0, 0, 64);
[ 5308] | sys_bpf_fd(BPF_LINK_CREATE, 0x7ffd6e0574f0, 64) {
[ 5308] | sys_bpf(BPF_LINK_CREATE, 0x7ffd6e0574f0, 64) {
1.934 us [ 5308] | syscall(321) = -1;
2.504 us [ 5308] | } = -1; /* sys_bpf */
0.100 us [ 5308] | ensure_good_fd(-1) = -1;
3.246 us [ 5308] | } = -1; /* sys_bpf_fd */
0.090 us [ 5308] | __errno_location();
[ 5308] | libbpf_err(-9) {
0.080 us [ 5308] | __errno_location();
0.421 us [ 5308] | } = -9; /* libbpf_err */
291.916 us [ 5308] | } = -9; /* bpf_link_create */
0.070 us [ 5308] | __errno_location();
4.619 us [ 5308] | close(9) = 0;
336.721 us [ 5308] | } = 1; /* probe_perf_link */
337.402 us [ 5308] | } = 1; /* kernel_supports */
0.200 us [ 5308] | memset(0x7ffd6e057650, 0, 80);
[ 5308] | bpf_link_create(7, 8, BPF_PERF_EVENT, 0x7ffd6e057650) {
[ 5308] | libbpf_validate_opts("P", 76, 80, "bpf_link_create_opts") {
0.221 us [ 5308] | libbpf_is_mem_zeroed("", 4) = 1;
1.102 us [ 5308] | } = 1; /* libbpf_validate_opts */
0.141 us [ 5308] | memset(0x7ffd6e057560, 0, 64);
0.230 us [ 5308] | libbpf_is_mem_zeroed("", 40) = 1;
[ 5308] | sys_bpf_fd(BPF_LINK_CREATE, 0x7ffd6e057560, 64) {
[ 5308] | sys_bpf(BPF_LINK_CREATE, 0x7ffd6e057560, 64) {
8.668 us [ 5308] | syscall(321) = 9;
9.038 us [ 5308] | } = 9; /* sys_bpf */
0.121 us [ 5308] | ensure_good_fd(9) = 9;
9.669 us [ 5308] | } = 9; /* sys_bpf_fd */
12.013 us [ 5308] | } = 9; /* bpf_link_create */
3.045 us [ 5308] | ioctl(8, 9216, 0) = 0;
358.413 us [ 5308] | } = 0x55a877e7dd00; /* bpf_program__attach_perf_event_opts */
[ 5308] | libbpf_get_error(0x55a877e7dd00) {
0.111 us [ 5308] | IS_ERR_OR_NULL(0x55a877e7dd00) = 0;
0.501 us [ 5308] | } = 0; /* libbpf_get_error */
2.568 ms [ 5308] | } = 0x55a877e7dd00; /* bpf_program__attach_tracepoint_opts */
2.569 ms [ 5308] | } = 0x55a877e7dd00; /* bpf_program__attach_tracepoint */
0.270 us [ 5308] | free(0x55a877e7dcd0);
[ 5308] | libbpf_get_error(0x55a877e7dd00) {
0.090 us [ 5308] | IS_ERR_OR_NULL(0x55a877e7dd00) = 0;
0.330 us [ 5308] | } = 0; /* libbpf_get_error */
3.319 ms [ 5308] | } = 0; /* attach_tp */
3.636 ms [ 5308] | } = 0; /* bpf_object__attach_skeleton */
3.637 ms [ 5308] | } = 0; /* minimal_bpf__attach */
125.729 us [ 5308] | puts("Successfully started! Please run `sudo cat /sys/kernel/debug/tracing/trace_pipe` to see output ...") = 116;
4.248 us [ 5308] | fputc('.', &_IO_2_1_stderr_) = 46;
1.009 s [ 5308] | sleep(1) = 0;
109.580 us [ 5308] | fputc('.', &_IO_2_1_stderr_) = 46;
1.014 s [ 5308] | sleep(1) = 0;
112.044 us [ 5308] | fputc('.', &_IO_2_1_stderr_) = 46;
uftrace stopped tracing with remaining functions
================================================
task: 5308
[0] main
下面是fentry执行的跟踪日志:
本文来自博客园,作者:dolinux,未经同意,禁止转载

浙公网安备 33010602011771号