mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
BTF-playgroundi: Drop printing BTF object ID in btf_module_read
As we have not found a way to get the BTF object ID via the sysfs filesystem BTF files. Signed-off-by: Jesper Dangaard Brouer <netoptimizer@brouer.com>
This commit is contained in:
@@ -148,8 +148,8 @@ int main(int argc, char **argv)
|
||||
if (!btf_obj_id)
|
||||
btf_obj_id = fail2_get_kernel_btf_obj_id(module_name);
|
||||
|
||||
printf("Module:%s (BTF-obj ID:%d) Symbol:%s have BTF type id:%d\n",
|
||||
module_name, btf_obj_id, symbol_name, type_id);
|
||||
printf("Module:%s Symbol:%s have BTF type id:%d\n",
|
||||
module_name, symbol_name, type_id);
|
||||
|
||||
out:
|
||||
btf__free(module_btf);
|
||||
|
Reference in New Issue
Block a user