builtin-probe.c (71af75b6929458d85f63c0649dc26d6f4c19729e) builtin-probe.c (7cc72553ac03ec20afe2dec91dce4624ccd379b8)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * builtin-probe.c
4 *
5 * Builtin probe command: Set up probe events by C expression
6 *
7 * Written by Masami Hiramatsu <mhiramat@redhat.com>
8 */

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

16#include <stdlib.h>
17#include <string.h>
18
19#include "builtin.h"
20#include "namespaces.h"
21#include "util/build-id.h"
22#include "util/strlist.h"
23#include "util/strfilter.h"
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * builtin-probe.c
4 *
5 * Builtin probe command: Set up probe events by C expression
6 *
7 * Written by Masami Hiramatsu <mhiramat@redhat.com>
8 */

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

16#include <stdlib.h>
17#include <string.h>
18
19#include "builtin.h"
20#include "namespaces.h"
21#include "util/build-id.h"
22#include "util/strlist.h"
23#include "util/strfilter.h"
24#include "util/symbol.h"
24#include "util/symbol_conf.h"
25#include "util/debug.h"
26#include <subcmd/parse-options.h>
27#include "util/probe-finder.h"
28#include "util/probe-event.h"
29#include "util/probe-file.h"
30#include <linux/string.h>
31#include <linux/zalloc.h>

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

624 ret = parse_probe_event_argv(argc, argv);
625 if (ret < 0) {
626 pr_err_with_code(" Error: Command Parse Error.", ret);
627 return ret;
628 }
629 params.command = 'a';
630 }
631
25#include "util/symbol_conf.h"
26#include "util/debug.h"
27#include <subcmd/parse-options.h>
28#include "util/probe-finder.h"
29#include "util/probe-event.h"
30#include "util/probe-file.h"
31#include <linux/string.h>
32#include <linux/zalloc.h>

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

625 ret = parse_probe_event_argv(argc, argv);
626 if (ret < 0) {
627 pr_err_with_code(" Error: Command Parse Error.", ret);
628 return ret;
629 }
630 params.command = 'a';
631 }
632
633 ret = symbol__validate_sym_arguments();
634 if (ret)
635 return ret;
636
632 if (params.quiet) {
633 if (verbose != 0) {
634 pr_err(" Error: -v and -q are exclusive.\n");
635 return -EINVAL;
636 }
637 verbose = -1;
638 }
639

--- 109 unchanged lines hidden ---
637 if (params.quiet) {
638 if (verbose != 0) {
639 pr_err(" Error: -v and -q are exclusive.\n");
640 return -EINVAL;
641 }
642 verbose = -1;
643 }
644

--- 109 unchanged lines hidden ---