probe_conf
if (probe_conf.bootconfig)
if (probe_conf.cache)
OPT_BOOLEAN('f', "force", &probe_conf.force_add, "forcibly add events"
OPT_BOOLEAN('\0', "externs", &probe_conf.show_ext_vars,
OPT_BOOLEAN('\0', "range", &probe_conf.show_location_range,
OPT_BOOLEAN('\0', "no-inlines", &probe_conf.no_inlines,
OPT_INTEGER('\0', "max-probes", &probe_conf.max_probes,
OPT_BOOLEAN(0, "cache", &probe_conf.cache, "Manipulate probe cache"),
OPT_BOOLEAN(0, "bootconfig", &probe_conf.bootconfig,
if (probe_conf.max_probes == 0)
probe_conf.max_probes = MAX_PROBES;
if (probe_conf.bootconfig && params->uprobes) {
if (probe_conf.cache)
if (ret == 0 && probe_conf.cache) {
if (syms && found < probe_conf.max_probes)
syms = malloc(sizeof(struct symbol *) * probe_conf.max_probes);
} else if (num_matched_functions > probe_conf.max_probes) {
if (*ntevs + ntevs2 > probe_conf.max_probes)
if (ret > probe_conf.max_probes) {
probe_conf.force_add);
struct probe_conf probe_conf = { .magic_num = DEFAULT_PROBE_MAGIC_NUM };
extern struct probe_conf probe_conf;
if (ret > probe_conf.max_probes)
if (probe_conf.show_location_range &&
ret = asprintf(valp, "\\%lx", probe_conf.magic_num);
.max_tevs = probe_conf.max_probes, .mod = dbg->mod};
if (probe_conf.show_location_range) {
if (!ret2 && probe_conf.show_location_range &&
if (!probe_conf.show_ext_vars)
.max_vls = probe_conf.max_probes};
} else if (!probe_conf.no_inlines) {