Lines Matching defs:define_prefix
72 const char *define_name, bool res, const char *define_prefix)
76 else if (define_prefix)
77 printf("#define %s%sHAVE_%s\n", define_prefix,
84 const char *define_prefix)
100 } else if (define_prefix) {
102 printf("#define %s%s %s\n", define_prefix,
105 printf("/* %s%s is not set */\n", define_prefix, name);
116 const char *define_comment, const char *define_prefix)
121 } else if (define_prefix) {
323 static void probe_kernel_image_config(const char *define_prefix)
442 if ((define_prefix && !options[i].macro_dump) ||
455 if (define_prefix && !options[i].macro_dump)
457 print_kernel_option(options[i].name, values[i], define_prefix);
462 static bool probe_bpf_syscall(const char *define_prefix)
472 res, define_prefix);
479 const char *define_prefix, __u32 ifindex)
522 define_prefix);
526 probe_map_type(enum bpf_map_type map_type, const char *define_prefix,
555 define_prefix);
560 const char *define_prefix, unsigned int id,
580 } else if (define_prefix) {
582 define_prefix, ptype_name, helper_name[id],
592 const char *define_prefix, __u32 ifindex)
612 } else if (!define_prefix) {
629 define_prefix, id, ptype_name,
636 else if (!define_prefix)
641 probe_large_insn_limit(const char *define_prefix, __u32 ifindex)
649 res, define_prefix);
653 section_system_config(enum probe_component target, const char *define_prefix)
661 define_prefix);
662 if (!define_prefix) {
673 probe_kernel_image_config(define_prefix);
681 static bool section_syscall_config(const char *define_prefix)
688 define_prefix);
689 res = probe_bpf_syscall(define_prefix);
696 section_program_types(bool *supported_types, const char *define_prefix,
704 define_prefix);
707 probe_prog_type(i, supported_types, define_prefix, ifindex);
712 static void section_map_types(const char *define_prefix, __u32 ifindex)
719 define_prefix);
722 probe_map_type(i, define_prefix, ifindex);
728 section_helpers(bool *supported_types, const char *define_prefix, __u32 ifindex)
735 define_prefix);
737 if (define_prefix)
750 define_prefix, define_prefix, define_prefix,
751 define_prefix);
753 probe_helpers_for_progtype(i, supported_types[i], define_prefix,
759 static void section_misc(const char *define_prefix, __u32 ifindex)
764 define_prefix);
765 probe_large_insn_limit(define_prefix, ifindex);
896 const char *define_prefix = NULL;
932 } else if (is_prefix(*argv, "macros") && !define_prefix) {
933 define_prefix = "";
936 if (!define_prefix) {
940 if (strcmp(define_prefix, "")) {
948 define_prefix = GET_ARG();
971 define_prefix = NULL;
975 section_system_config(target, define_prefix);
976 if (!section_syscall_config(define_prefix))
979 section_program_types(supported_types, define_prefix, ifindex);
980 section_map_types(define_prefix, ifindex);
981 section_helpers(supported_types, define_prefix, ifindex);
982 section_misc(define_prefix, ifindex);