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