builtin-probe.c (9938b04472d5c59f8bd8152a548533a8599596a2) builtin-probe.c (2fd457a34525ea3bc609e377b46af759af8a7934)
1/*
2 * builtin-probe.c
3 *
4 * Builtin probe command: Set up probe events by C expression
5 *
6 * Written by Masami Hiramatsu <mhiramat@redhat.com>
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 498 unchanged lines hidden (view full) ---

507 "target executable name or path", opt_set_target),
508 OPT_CALLBACK('m', "module", NULL, "modname|path",
509 "target module name (for online) or path (for offline)",
510 opt_set_target),
511 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle,
512 "Enable symbol demangling"),
513 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel,
514 "Enable kernel symbol demangling"),
1/*
2 * builtin-probe.c
3 *
4 * Builtin probe command: Set up probe events by C expression
5 *
6 * Written by Masami Hiramatsu <mhiramat@redhat.com>
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 498 unchanged lines hidden (view full) ---

507 "target executable name or path", opt_set_target),
508 OPT_CALLBACK('m', "module", NULL, "modname|path",
509 "target module name (for online) or path (for offline)",
510 opt_set_target),
511 OPT_BOOLEAN(0, "demangle", &symbol_conf.demangle,
512 "Enable symbol demangling"),
513 OPT_BOOLEAN(0, "demangle-kernel", &symbol_conf.demangle_kernel,
514 "Enable kernel symbol demangling"),
515 OPT_BOOLEAN(0, "cache", &probe_conf.cache, "Manipulate probe cache"),
515 OPT_END()
516 };
517 int ret;
518
519 set_option_flag(options, 'a', "add", PARSE_OPT_EXCLUSIVE);
520 set_option_flag(options, 'd', "del", PARSE_OPT_EXCLUSIVE);
521 set_option_flag(options, 'l', "list", PARSE_OPT_EXCLUSIVE);
522#ifdef HAVE_DWARF_SUPPORT

--- 126 unchanged lines hidden ---
516 OPT_END()
517 };
518 int ret;
519
520 set_option_flag(options, 'a', "add", PARSE_OPT_EXCLUSIVE);
521 set_option_flag(options, 'd', "del", PARSE_OPT_EXCLUSIVE);
522 set_option_flag(options, 'l', "list", PARSE_OPT_EXCLUSIVE);
523#ifdef HAVE_DWARF_SUPPORT

--- 126 unchanged lines hidden ---