Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 58) sorted by relevance

123

/tools/perf/util/
Dparse-branch-options.c8 { .name = n, .mode = (m) }
14 int mode; member
42 uint64_t *mode = (uint64_t *)opt->value; in parse_branch_stack() local
53 if (*mode) in parse_branch_stack()
78 *mode |= br->mode; in parse_branch_stack()
89 if ((*mode & ~ONLY_PLM) == 0) { in parse_branch_stack()
90 *mode = PERF_SAMPLE_BRANCH_ANY; in parse_branch_stack()
Dparse-regs-options.c10 uint64_t *mode = (uint64_t *)opt->value; in parse_regs() local
21 if (*mode) in parse_regs()
55 *mode |= r->mask; in parse_regs()
66 if (*mode == 0) in parse_regs()
67 *mode = PERF_REGS_MASK; in parse_regs()
Ddata.h17 enum perf_data_mode mode; member
22 return file->mode == PERF_DATA_MODE_READ; in perf_data_file__is_read()
27 return file->mode == PERF_DATA_MODE_WRITE; in perf_data_file__is_write()
Dutil.c21 .mode = CHAIN_GRAPH_ABS,
48 int mkdir_p(char *path, mode_t mode) in mkdir_p() argument
64 err = stat(path, &st) && mkdir(path, mode); in mkdir_p()
71 return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0; in mkdir_p()
172 int copyfile_mode(const char *from, const char *to, mode_t mode) in copyfile_mode() argument
197 if (fchmod(tofd, mode)) in copyfile_mode()
Dcallchain.c36 callchain_param.mode = CHAIN_GRAPH_ABS; in parse_callchain_mode()
40 callchain_param.mode = CHAIN_FLAT; in parse_callchain_mode()
44 callchain_param.mode = CHAIN_GRAPH_REL; in parse_callchain_mode()
98 callchain_param.mode = CHAIN_NONE; in __parse_callchain_report_opt()
205 enum chain_mode mode) in rb_insert_callchain() argument
219 switch (mode) { in rb_insert_callchain()
333 switch (param->mode) { in callchain_register_param()
/tools/vm/
Dslabinfo-gnuplot.sh36 mode=preprocess
191 mode=totals
194 mode=slabs
230 case $mode in
256 case $mode in
271 echo "Unknown mode $mode" >&2
/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt21 with 0755 mode.
39 if ! mount -t devtmpfs -o mode=0755 udev /dev; then
41 mount -t tmpfs -o mode=0755 udev /dev
42 [ -e /dev/console ] || mknod --mode=600 /dev/console c 5 1
43 [ -e /dev/kmsg ] || mknod --mode=644 /dev/kmsg c 1 11
44 [ -e /dev/null ] || mknod --mode=666 /dev/null c 1 3
48 mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
49 mount -t tmpfs -o "nosuid,size=20%,mode=0755" tmpfs /run
/tools/perf/
Dbuiltin-mem.c124 .mode = PERF_DATA_MODE_READ, in report_raw_events()
189 int mode; member
193 { .name = n, .mode = (m) }
206 int *mode = (int *)opt->value; in parse_mem_ops() local
222 *mode = 0; in parse_mem_ops()
239 *mode |= m->mode; in parse_mem_ops()
249 if (*mode == 0) in parse_mem_ops()
250 *mode = MEM_OPERATION_LOAD; in parse_mem_ops()
Dbuiltin-evlist.c26 .mode = PERF_DATA_MODE_READ, in __cmd_evlist()
Dbuiltin-buildid-list.c54 .mode = PERF_DATA_MODE_READ, in perf_session__list_build_ids()
/tools/power/cpupower/debug/i386/
Dcentrino-decode.c97 unsigned int cpu, mode = 0; in main() local
104 mode = 1; in main()
107 if (mode) in main()
/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c40 static int mode; variable
357 if (mode) in cmdline()
359 mode = list; in cmdline()
363 if (mode && mode != show) in cmdline()
368 if (mode) in cmdline()
370 mode = show; in cmdline()
380 if (!mode) in cmdline()
381 mode = show_all; in cmdline()
426 if (mode == list) { in cmd_monitor()
431 if (mode == show) in cmd_monitor()
/tools/perf/Documentation/
Dperf-stat.txt89 In per-thread mode, this option is ignored. The -a option is still necessary
94 Do not aggregate counts across all monitored CPUs in system-wide mode (-a).
95 This option is only valid in system-wide mode.
113 in per-cpu mode. The cgroup filesystem must be mounted. All threads belonging to
148 Aggregate counts per processor socket for system-wide mode measurements. This
149 is a useful mode to detect imbalance between sockets. To enable this mode,
155 Aggregate counts per physical processor for system-wide mode measurements. This
156 is a useful mode to detect imbalance between physical cores. To enable this mode,
Dperf-script.txt47 using 'live-mode' i.e. without writing anything to disk. <script>
52 should be specified before <command>. This mode doesn't allow for
60 <top-script> and to run the <top-script> using 'live-mode'
67 record' and 'live-mode' variants; this isn't possible however for
68 <top-script> 'live-mode' or 'perf script report' variants.
105 system-wide mode.
112 --debug-mode::
224 It can only be used with the perf script report mode.
Dintel-pt.txt112 data captured is to use 'snapshot' mode which is explained further below.
373 yet (and indicated that by advancing aux_tail), whereas in snapshot mode we let
378 To select snapshot mode a new option has been added:
420 In full-trace mode, powers of two are allowed for buffer size, with a minimum
421 size of 2 pages. In snapshot mode, it is the same but the minimum size is
434 full-trace mode
435 snapshot mode
437 Full-trace mode traces continuously e.g.
441 Snapshot mode captures the available data when a signal is sent e.g.
471 In full-trace mode, the driver waits for data to be copied out before allowing
[all …]
Dperf-record.txt61 FP mode, "dwarf" for DWARF mode, "lbr" for LBR mode and
63 - 'stack-size': user stack size for dwarf mode
211 In per-thread mode with inheritance mode on (default), samples are captured only when
223 in per-cpu mode. The cgroup filesystem must be mounted. All threads belonging to
269 abort events and some memory events in precise mode on modern Intel CPUs.
Dperf-report.txt92 - overhead_sys: Overhead percentage of sample running in system mode
93 - overhead_us: Overhead percentage of sample running in user mode
94 - overhead_guest_sys: Overhead percentage of sample running in system mode
96 - overhead_guest_us: Overhead percentage of sample running in user mode on
130 If --mem-mode option is used, following sort keys are also available
144 symbol_daddr, dso_daddr, snoop, tlb, locked, see '--mem-mode'.
294 branch stacks and it will automatically switch to the branch view mode,
315 --mem-mode::
Dperf-trace.txt20 This is a live mode tool in addition to working with perf.data files like
78 In per-thread mode with inheritance mode on (default), Events are captured only when
Dperf-kmem.txt44 mode selection options - i.e. --slab, --page, --alloc and/or --caller.
/tools/testing/selftests/ipc/
Dmsgque.c29 int mode; member
51 id = msgget(msgque->key, msgque->mode | IPC_CREAT | IPC_EXCL); in restore_queue()
156 msgque->mode = ds.msg_perm.mode; in dump_queue()
/tools/lib/traceevent/
Dplugin_kvm.c43 int mode; in disassemble() local
46 mode = 16; in disassemble()
48 mode = 16; in disassemble()
50 mode = 64; in disassemble()
52 mode = 32; in disassemble()
54 mode = 16; in disassemble()
57 ud_set_mode(&ud, mode); in disassemble()
/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c304 static void launch_watchpoints(char *buf, int mode, int len, in launch_watchpoints() argument
310 if (mode == BP_W) in launch_watchpoints()
317 toggle_breakpoint(i, mode, len, local, global, 1); in launch_watchpoints()
322 toggle_breakpoint(i, mode, len, local, global, 0); in launch_watchpoints()
/tools/perf/tests/
Dtopology.c34 .mode = PERF_DATA_MODE_WRITE, in session_write_header()
62 .mode = PERF_DATA_MODE_READ, in check_cpu_topology()
/tools/perf/ui/stdio/
Dhist.c112 if (!next && (callchain_param.mode != CHAIN_GRAPH_REL || !remaining)) in __callchain__fprintf_graph()
130 if (callchain_param.mode == CHAIN_GRAPH_REL) in __callchain__fprintf_graph()
144 if (callchain_param.mode == CHAIN_GRAPH_REL && in __callchain__fprintf_graph()
267 switch (callchain_param.mode) { in hist_entry_callchain__fprintf()
/tools/testing/selftests/memfd/
Dmemfd_test.c184 static int mfd_assert_open(int fd, int flags, mode_t mode) in mfd_assert_open() argument
190 r = open(buf, flags, mode); in mfd_assert_open()
199 static void mfd_fail_open(int fd, int flags, mode_t mode) in mfd_fail_open() argument
205 r = open(buf, flags, mode); in mfd_fail_open()

123