Lines Matching +full:force +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0
13 #include "util/parse-events.h"
14 #include <subcmd/parse-options.h>
35 .mode = PERF_DATA_MODE_READ, in __cmd_evlist()
36 .force = details->force, in __cmd_evlist()
42 /* only needed for pipe mode */ in __cmd_evlist()
52 evlist__for_each_entry(session->evlist, pos) { in __cmd_evlist()
55 if (pos->core.attr.type == PERF_TYPE_TRACEPOINT) in __cmd_evlist()
62 if (has_tracepoint && !details->trace_fields) in __cmd_evlist()
63 printf("# Tip: use 'perf evlist --trace-fields' to show fields for tracepoint events\n"); in __cmd_evlist()
65 if (has_group && !details->event_group) in __cmd_evlist()
66 printf("# Tip: use 'perf evlist -g' to show group information\n"); in __cmd_evlist()
82 OPT_BOOLEAN('f', "force", &details.force, "don't complain, do it"), in cmd_evlist()
83 OPT_BOOLEAN(0, "trace-fields", &details.trace_fields, "Show tracepoint fields"), in cmd_evlist()
97 "--group option is not compatible with other options\n"); in cmd_evlist()