Home
last modified time | relevance | path

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

12

/tools/perf/util/
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.c20 .mode = CHAIN_GRAPH_REL,
49 int mkdir_p(char *path, mode_t mode) in mkdir_p() argument
65 err = stat(path, &st) && mkdir(path, mode); in mkdir_p()
72 return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0; in mkdir_p()
75 static int slow_copyfile(const char *from, const char *to, mode_t mode) in slow_copyfile() argument
86 old_umask = umask(mode ^ 0777); in slow_copyfile()
105 int copyfile_mode(const char *from, const char *to, mode_t mode) in copyfile_mode() argument
116 return slow_copyfile(from, to, mode); in copyfile_mode()
122 tofd = creat(to, mode); in copyfile_mode()
Dcallchain.c115 callchain_param.mode = CHAIN_GRAPH_ABS; in parse_callchain_mode()
119 callchain_param.mode = CHAIN_FLAT; in parse_callchain_mode()
123 callchain_param.mode = CHAIN_GRAPH_REL; in parse_callchain_mode()
169 callchain_param.mode = CHAIN_NONE; in parse_callchain_report_opt()
244 enum chain_mode mode) in rb_insert_callchain() argument
258 switch (mode) { in rb_insert_callchain()
372 switch (param->mode) { in callchain_register_param()
Dutil.h251 int mkdir_p(char *path, mode_t mode);
253 int copyfile_mode(const char *from, const char *to, mode_t mode);
Dcallchain.h60 enum chain_mode mode; member
/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
Drcu-test-image.txt24 devpts /dev/pts devpts gid=5,mode=620 0 0
/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.c38 static int mode; variable
351 if (mode) in cmdline()
353 mode = list; in cmdline()
357 if (mode && mode != show) in cmdline()
362 if (mode) in cmdline()
364 mode = show; in cmdline()
374 if (!mode) in cmdline()
375 mode = show_all; in cmdline()
417 if (mode == list) { in cmd_monitor()
422 if (mode == show) in cmd_monitor()
/tools/testing/selftests/
DREADME.txt9 to run full range of hot-plug tests. In default mode, hot-plug tests run
10 in safe mode with a limited scope. In limited mode, cpu-hotplug test is
14 Running the selftests (hotplug tests are run in limited mode)
29 hotplug targets in limited mode)
/tools/perf/Documentation/
Dperf-stat.txt73 In per-thread mode, this option is ignored. The -a option is still necessary
78 Do not aggregate counts across all monitored CPUs in system-wide mode (-a).
79 This option is only valid in system-wide mode.
97 in per-cpu mode. The cgroup filesystem must be mounted. All threads belonging to
131 Aggregate counts per processor socket for system-wide mode measurements. This
132 is a useful mode to detect imbalance between sockets. To enable this mode,
138 Aggregate counts per physical processor for system-wide mode measurements. This
139 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::
201 It can only be used with the perf script report mode.
Dperf-report.txt83 - overhead_sys: Overhead percentage of sample running in system mode
84 - overhead_us: Overhead percentage of sample running in user mode
85 - overhead_guest_sys: Overhead percentage of sample running in system mode
87 - overhead_guest_us: Overhead percentage of sample running in user mode on
120 If --mem-mode option is used, following sort keys are also available
134 symbol_daddr, dso_daddr, snoop, tlb, locked, see '--mem-mode'.
266 branch stacks and it will automatically switch to the branch view mode,
282 --mem-mode::
Dperf-trace.txt20 This is a live mode tool in addition to working with perf.data files like
76 In per-thread mode with inheritance mode on (default), Events are captured only when
Dperf-record.txt144 In per-thread mode with inheritance mode on (default), samples are captured only when
156 in per-cpu mode. The cgroup filesystem must be mounted. All threads belonging to
201 abort events and some memory events in precise mode on modern Intel CPUs.
Dperf-mem.txt47 option can be passed in record mode. It will be interpreted the same way as perf
/tools/testing/selftests/ipc/
Dmsgque.c27 int mode; member
49 id = msgget(msgque->key, msgque->mode | IPC_CREAT | IPC_EXCL); in restore_queue()
154 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.c302 static void launch_watchpoints(char *buf, int mode, int len, in launch_watchpoints() argument
308 if (mode == BP_W) in launch_watchpoints()
315 toggle_breakpoint(i, mode, len, local, global, 1); in launch_watchpoints()
320 toggle_breakpoint(i, mode, len, local, global, 0); in launch_watchpoints()
/tools/perf/
Dbuiltin-record.c542 { .name = n, .mode = (m) }
548 int mode; member
574 uint64_t *mode = (uint64_t *)opt->value; in parse_branch_stack() local
585 if (*mode) in parse_branch_stack()
610 *mode |= br->mode; in parse_branch_stack()
621 if ((*mode & ~ONLY_PLM) == 0) { in parse_branch_stack()
622 *mode = PERF_SAMPLE_BRANCH_ANY; in parse_branch_stack()
Dbuiltin-evlist.c26 .mode = PERF_DATA_MODE_READ, in __cmd_evlist()
Dbuiltin-buildid-list.c58 .mode = PERF_DATA_MODE_READ, in perf_session__list_build_ids()
/tools/perf/ui/stdio/
Dhist.c114 if (!next && (callchain_param.mode != CHAIN_GRAPH_REL || !remaining)) in __callchain__fprintf_graph()
132 if (callchain_param.mode == CHAIN_GRAPH_REL) in __callchain__fprintf_graph()
146 if (callchain_param.mode == CHAIN_GRAPH_REL && in __callchain__fprintf_graph()
272 switch (callchain_param.mode) { in hist_entry_callchain__fprintf()
/tools/testing/selftests/memfd/
Dmemfd_test.c183 static int mfd_assert_open(int fd, int flags, mode_t mode) in mfd_assert_open() argument
189 r = open(buf, flags, mode); in mfd_assert_open()
198 static void mfd_fail_open(int fd, int flags, mode_t mode) in mfd_fail_open() argument
204 r = open(buf, flags, mode); in mfd_fail_open()
/tools/perf/ui/gtk/
Dhists.c144 if (callchain_param.mode == CHAIN_GRAPH_REL) in perf_gtk__add_callchain()
262 if (callchain_param.mode == CHAIN_GRAPH_REL) in perf_gtk__show_hists()

12