builtin-probe.c (f1bbbb6912662b9f6070c5bfc4ca9eb1f06a9d5b) | builtin-probe.c (9ed7e1b85cd55dc46cb9410a23086bdaa2ff3eb9) |
---|---|
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 --- 168 unchanged lines hidden (view full) --- 177 OPT_BOOLEAN('f', "force", ¶ms.force_add, "forcibly add events" 178 " with existing name"), 179#ifdef DWARF_SUPPORT 180 OPT_CALLBACK('L', "line", NULL, 181 "FUNC[:RLN[+NUM|-RLN2]]|SRC:ALN[+NUM|-ALN2]", 182 "Show source code lines.", opt_show_lines), 183 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, 184 "file", "vmlinux pathname"), | 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 --- 168 unchanged lines hidden (view full) --- 177 OPT_BOOLEAN('f', "force", ¶ms.force_add, "forcibly add events" 178 " with existing name"), 179#ifdef DWARF_SUPPORT 180 OPT_CALLBACK('L', "line", NULL, 181 "FUNC[:RLN[+NUM|-RLN2]]|SRC:ALN[+NUM|-ALN2]", 182 "Show source code lines.", opt_show_lines), 183 OPT_STRING('k', "vmlinux", &symbol_conf.vmlinux_name, 184 "file", "vmlinux pathname"), |
185 OPT_STRING('s', "source", &symbol_conf.source_prefix, 186 "directory", "path to kernel source"), |
|
185#endif 186 OPT__DRY_RUN(&probe_event_dry_run), 187 OPT_INTEGER('\0', "max-probes", ¶ms.max_probe_points, 188 "Set how many probe points can be found for a probe."), 189 OPT_END() 190}; 191 192int cmd_probe(int argc, const char **argv, const char *prefix __used) --- 76 unchanged lines hidden --- | 187#endif 188 OPT__DRY_RUN(&probe_event_dry_run), 189 OPT_INTEGER('\0', "max-probes", ¶ms.max_probe_points, 190 "Set how many probe points can be found for a probe."), 191 OPT_END() 192}; 193 194int cmd_probe(int argc, const char **argv, const char *prefix __used) --- 76 unchanged lines hidden --- |