Lines Matching refs:define_prefix
78 const char *define_name, bool res, const char *define_prefix) in print_bool_feature() argument
82 else if (define_prefix) in print_bool_feature()
83 printf("#define %s%sHAVE_%s\n", define_prefix, in print_bool_feature()
90 const char *define_prefix) in print_kernel_option() argument
106 } else if (define_prefix) { in print_kernel_option()
108 printf("#define %s%s %s\n", define_prefix, in print_kernel_option()
111 printf("/* %s%s is not set */\n", define_prefix, name); in print_kernel_option()
122 const char *define_comment, const char *define_prefix) in print_start_section() argument
127 } else if (define_prefix) { in print_start_section()
358 static void probe_kernel_image_config(const char *define_prefix) in probe_kernel_image_config() argument
481 if ((define_prefix && !options[i].macro_dump) || in probe_kernel_image_config()
490 if (define_prefix && !options[i].macro_dump) in probe_kernel_image_config()
492 print_kernel_option(options[i].name, values[i], define_prefix); in probe_kernel_image_config()
501 static bool probe_bpf_syscall(const char *define_prefix) in probe_bpf_syscall() argument
511 res, define_prefix); in probe_bpf_syscall()
552 bool *supported_types, const char *define_prefix, __u32 ifindex) in probe_prog_type() argument
594 define_prefix); in probe_prog_type()
619 const char *define_prefix, __u32 ifindex) in probe_map_type() argument
655 define_prefix); in probe_map_type()
687 const char *define_prefix, unsigned int id, in probe_helper_for_progtype() argument
710 } else if (define_prefix) { in probe_helper_for_progtype()
712 define_prefix, ptype_name, helper_name[id], in probe_helper_for_progtype()
725 const char *define_prefix, __u32 ifindex) in probe_helpers_for_progtype() argument
745 } else if (!define_prefix) { in probe_helpers_for_progtype()
763 define_prefix, id, prog_type_str, in probe_helpers_for_progtype()
770 else if (!define_prefix) { in probe_helpers_for_progtype()
785 const char *define_prefix, __u32 ifindex, in probe_misc_feature() argument
804 define_prefix); in probe_misc_feature()
812 static void probe_large_insn_limit(const char *define_prefix, __u32 ifindex) in probe_large_insn_limit() argument
822 define_prefix, ifindex, in probe_large_insn_limit()
833 probe_bounded_loops(const char *define_prefix, __u32 ifindex) in probe_bounded_loops() argument
843 define_prefix, ifindex, in probe_bounded_loops()
854 probe_v2_isa_extension(const char *define_prefix, __u32 ifindex) in probe_v2_isa_extension() argument
864 define_prefix, ifindex, in probe_v2_isa_extension()
875 probe_v3_isa_extension(const char *define_prefix, __u32 ifindex) in probe_v3_isa_extension() argument
885 define_prefix, ifindex, in probe_v3_isa_extension()
892 section_system_config(enum probe_component target, const char *define_prefix) in section_system_config() argument
900 define_prefix); in section_system_config()
901 if (!define_prefix) { in section_system_config()
912 probe_kernel_image_config(define_prefix); in section_system_config()
920 static bool section_syscall_config(const char *define_prefix) in section_syscall_config() argument
927 define_prefix); in section_syscall_config()
928 res = probe_bpf_syscall(define_prefix); in section_syscall_config()
935 section_program_types(bool *supported_types, const char *define_prefix, in section_program_types() argument
944 define_prefix); in section_program_types()
953 probe_prog_type(prog_type, prog_type_str, supported_types, define_prefix, in section_program_types()
960 static void section_map_types(const char *define_prefix, __u32 ifindex) in section_map_types() argument
968 define_prefix); in section_map_types()
977 probe_map_type(map_type, map_type_str, define_prefix, ifindex); in section_map_types()
984 section_helpers(bool *supported_types, const char *define_prefix, __u32 ifindex) in section_helpers() argument
992 define_prefix); in section_helpers()
994 if (define_prefix) in section_helpers()
1007 define_prefix, define_prefix, define_prefix, in section_helpers()
1008 define_prefix); in section_helpers()
1018 define_prefix, in section_helpers()
1025 static void section_misc(const char *define_prefix, __u32 ifindex) in section_misc() argument
1030 define_prefix); in section_misc()
1031 probe_large_insn_limit(define_prefix, ifindex); in section_misc()
1032 probe_bounded_loops(define_prefix, ifindex); in section_misc()
1033 probe_v2_isa_extension(define_prefix, ifindex); in section_misc()
1034 probe_v3_isa_extension(define_prefix, ifindex); in section_misc()
1165 const char *define_prefix = NULL; in do_probe() local
1201 } else if (is_prefix(*argv, "macros") && !define_prefix) { in do_probe()
1202 define_prefix = ""; in do_probe()
1205 if (!define_prefix) { in do_probe()
1209 if (strcmp(define_prefix, "")) { in do_probe()
1217 define_prefix = GET_ARG(); in do_probe()
1240 define_prefix = NULL; in do_probe()
1244 section_system_config(target, define_prefix); in do_probe()
1245 if (!section_syscall_config(define_prefix)) in do_probe()
1248 section_program_types(supported_types, define_prefix, ifindex); in do_probe()
1249 section_map_types(define_prefix, ifindex); in do_probe()
1250 section_helpers(supported_types, define_prefix, ifindex); in do_probe()
1251 section_misc(define_prefix, ifindex); in do_probe()