/tools/perf/tests/attr/ |
D | test-stat-detailed-3 | 2 command = stat 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] [all …]
|
D | test-stat-detailed-2 | 2 command = stat 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] [all …]
|
D | test-stat-detailed-1 | 2 command = stat 8 [event1:base-stat] 14 [event2:base-stat] 20 [event3:base-stat] 26 [event4:base-stat] 32 [event5:base-stat] 39 [event6:base-stat] 46 [event7:base-stat] 53 [event8:base-stat] 60 [event9:base-stat] [all …]
|
D | test-stat-default | 2 command = stat 7 [event1:base-stat] 13 [event2:base-stat] 19 [event3:base-stat] 25 [event4:base-stat] 31 [event5:base-stat] 38 [event6:base-stat] 45 [event7:base-stat] 52 [event8:base-stat] 59 [event9:base-stat] [all …]
|
D | README | 59 perf stat -e cycles kill (test-stat-basic) 60 perf stat kill (test-stat-default) 61 perf stat -d kill (test-stat-detailed-1) 62 perf stat -dd kill (test-stat-detailed-2) 63 perf stat -ddd kill (test-stat-detailed-3) 64 perf stat --group -e cycles,instructions kill (test-stat-group) 65 perf stat -e '{cycles,instructions}' kill (test-stat-group1) 66 perf stat -i -e cycles kill (test-stat-no-inherit)
|
D | test-stat-group1 | 2 command = stat 6 [event-1:base-stat] 11 [event-2:base-stat]
|
D | test-stat-group | 2 command = stat 6 [event-1:base-stat] 11 [event-2:base-stat]
|
D | test-stat-basic | 2 command = stat 6 [event:base-stat]
|
D | test-stat-no-inherit | 2 command = stat 6 [event:base-stat]
|
D | test-stat-C0 | 2 command = stat 6 [event:base-stat]
|
/tools/perf/tests/ |
D | hists_output.c | 170 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1() 176 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1() 182 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1() 188 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1() 194 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1() 200 !strcmp(SYM(he), "schedule") && he->stat.period == 100); in test1() 206 !strcmp(SYM(he), "free") && he->stat.period == 100); in test1() 212 !strcmp(SYM(he), "malloc") && he->stat.period == 100); in test1() 218 !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); in test1() 269 CPU(he) == 1 && PID(he) == 100 && he->stat.period == 300); in test2() [all …]
|
/tools/bootconfig/ |
D | main.c | 152 struct stat stat; in load_xbc_file() local 158 ret = fstat(fd, &stat); in load_xbc_file() 162 ret = load_xbc_fd(fd, buf, stat.st_size); in load_xbc_file() 177 struct stat stat; in load_xbc_from_initrd() local 183 ret = fstat(fd, &stat); in load_xbc_from_initrd() 187 if (stat.st_size < 8 + BOOTCONFIG_MAGIC_LEN) in load_xbc_from_initrd() 212 if (stat.st_size < size + 8 + BOOTCONFIG_MAGIC_LEN) { in load_xbc_from_initrd() 217 if (lseek(fd, stat.st_size - (size + 8 + BOOTCONFIG_MAGIC_LEN), in load_xbc_from_initrd() 284 struct stat st; in show_xbc() 286 ret = stat(path, &st); in show_xbc() [all …]
|
D | test-bootconfig.sh | 52 bconf_size=$(stat -c %s $TEMPCONF) 53 initrd_size=$(stat -c %s $INITRD) 57 new_size=$(stat -c %s $INITRD) 72 xpass test $new_size -eq $(stat -c %s $INITRD) 78 new_size=$(stat -c %s $INITRD)
|
/tools/perf/tests/shell/ |
D | stat_bpf_counters.sh | 25 if ! perf stat -e cycles --bpf-counters true > /dev/null 2>&1; then 28 perf --no-pager stat -e cycles --bpf-counters true || true 33 base_cycles=$(perf stat --no-big-num -e cycles -- perf bench sched messaging -g 1 -l 100 -t 2>&1 | … 38 bpf_cycles=$(perf stat --no-big-num --bpf-counters -e cycles -- perf bench sched messaging -g 1 -l …
|
D | stat+shadow_stat.sh | 8 perf stat -a true > /dev/null 2>&1 || exit 2 11 perf stat -a -e cycles sleep 1 2>&1 | grep -e cpu_core && exit 2 15 perf stat -a --no-big-num -e cycles,instructions sleep 1 2>&1 | \ 46 perf stat -a -A --no-big-num -e cycles,instructions sleep 1 2>&1 | \
|
D | stat+csv_summary.sh | 11 perf stat -e cycles -x' ' -I1000 --interval-count 1 --summary 2>&1 | \ 24 perf stat -e cycles -x' ' -I1000 --interval-count 1 --summary --no-csv-summary 2>&1 | \
|
/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 118 struct statvfs stat; in read_mnt_flags() local 121 ret = statvfs(path, &stat); in read_mnt_flags() 126 if (stat.f_flag & ~(ST_RDONLY | ST_NOSUID | ST_NODEV | \ in read_mnt_flags() 132 if (stat.f_flag & ST_RDONLY) in read_mnt_flags() 134 if (stat.f_flag & ST_NOSUID) in read_mnt_flags() 136 if (stat.f_flag & ST_NODEV) in read_mnt_flags() 138 if (stat.f_flag & ST_NOEXEC) in read_mnt_flags() 140 if (stat.f_flag & ST_NOATIME) in read_mnt_flags() 142 if (stat.f_flag & ST_NODIRATIME) in read_mnt_flags() 144 if (stat.f_flag & ST_RELATIME) in read_mnt_flags() [all …]
|
/tools/perf/util/ |
D | path.c | 75 struct stat st; in is_regular_file() 77 if (stat(file, &st)) in is_regular_file() 87 struct stat st; in is_directory() 90 if (stat(path, &st)) in is_directory()
|
D | trace-event-info.c | 91 struct stat st; in record_header_files() 99 if (stat(path, &st) < 0) { in record_header_files() 123 if (stat(path, &st) < 0) { in record_header_files() 164 struct stat st; in copy_event_system() 185 ret = stat(format, &st); in copy_event_system() 207 ret = stat(format, &st); in copy_event_system() 256 struct stat st; in record_event_files() 301 ret = stat(sys, &st); in record_event_files() 338 struct stat st; in record_ftrace_printk() 347 ret = stat(path, &st); in record_ftrace_printk() [all …]
|
/tools/testing/selftests/proc/ |
D | proc-multiple-procfs.c | 25 struct stat proc_st1, proc_st2; in main() 37 assert(!stat(procbuff, &proc_st1)); in main() 40 assert(!stat(procbuff, &proc_st2)); in main()
|
/tools/testing/selftests/vm/ |
D | pkey-powerpc.h | 73 struct stat buf; in arch_is_powervm() 75 if ((stat("/sys/firmware/devicetree/base/ibm,partition-name", &buf) == 0) && in arch_is_powervm() 76 (stat("/sys/firmware/devicetree/base/hmc-managed?", &buf) == 0) && in arch_is_powervm() 77 (stat("/sys/firmware/devicetree/base/chosen/qemu,graphic-width", &buf) == -1) ) in arch_is_powervm()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | pinning.c | 37 struct stat statbuf = {}; in test_pinning() 66 err = stat(pinpath, &statbuf); in test_pinning() 71 err = stat(nopinpath, &statbuf); in test_pinning() 77 err = stat(nopinpath2, &statbuf); in test_pinning() 152 err = stat(custpinpath, &statbuf); in test_pinning() 197 err = stat(nopinpath2, &statbuf); in test_pinning() 203 err = stat(pinpath, &statbuf); in test_pinning() 221 err = stat(custpinpath, &statbuf); in test_pinning() 266 err = stat(custpinpath, &statbuf); in test_pinning()
|
/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 55 struct stat statbuf; in sysfs_is_cpu_online() 59 if (stat(path, &statbuf) != 0) in sysfs_is_cpu_online() 67 if (stat(path, &statbuf) != 0) in sysfs_is_cpu_online() 108 struct stat statbuf; in sysfs_idlestate_file_exists() 113 if (stat(path, &statbuf) != 0) in sysfs_idlestate_file_exists() 357 struct stat statbuf; in sysfs_get_idlestate_count() 362 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in sysfs_get_idlestate_count() 366 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in sysfs_get_idlestate_count() 369 while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { in sysfs_get_idlestate_count()
|
/tools/perf/Documentation/ |
D | intel-hybrid.txt | 53 perf stat -e cpu_core/cycles/ 91 perf stat -e cycles -a (use system-wide in this example), two events 125 For perf-stat result, it displays two events: 137 perf-stat reports the scaled counts for hybrid event and with a percentage 143 perf stat -e cycles \-- taskset -c 16 ./triad_loop 185 perf-stat: 188 If there is no '-e' specified in perf stat, on hybrid platform, 201 Of course, both perf-stat and perf-record support to enable 205 perf stat -e cpu_core/cycles/ 206 perf stat -e cpu_atom/cycles/ [all …]
|
/tools/power/cpupower/lib/ |
D | cpuidle.c | 34 struct stat statbuf; in cpuidle_state_file_exists() 39 if (stat(path, &statbuf) != 0) in cpuidle_state_file_exists() 287 struct stat statbuf; in cpuidle_state_count() 292 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in cpuidle_state_count() 296 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in cpuidle_state_count() 299 while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { in cpuidle_state_count()
|