| /tools/perf/tests/shell/attr/ |
| A 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 …]
|
| A 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 …]
|
| A 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 …]
|
| A 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] 44 [event7:base-stat] 51 [event8:base-stat] 58 [event9:base-stat] [all …]
|
| A D | README | 65 perf stat -e cycles kill (test-stat-basic) 66 perf stat kill (test-stat-default) 67 perf stat -d kill (test-stat-detailed-1) 68 perf stat -dd kill (test-stat-detailed-2) 69 perf stat -ddd kill (test-stat-detailed-3) 70 perf stat -e '{cycles,instructions}' kill (test-stat-group1) 71 perf stat -i -e cycles kill (test-stat-no-inherit)
|
| A D | test-stat-group1 | 2 command = stat 6 [event-1:base-stat] 11 [event-2:base-stat]
|
| A D | test-stat-basic | 2 command = stat 6 [event:base-stat]
|
| /tools/perf/tests/shell/lib/ |
| A D | stat_output.sh | 14 perf stat $2 true 27 perf stat -a $2 true 40 perf stat -A -a --no-merge $2 true 48 perf stat -I 1000 $2 true 56 perf stat -e cpu-clock $2 true 69 perf stat --per-core -a $2 true 95 perf stat --per-cache -a $2 true 108 perf stat --per-cluster -a $2 true 120 perf stat --per-die -a $2 true 133 perf stat --per-node -a $2 true [all …]
|
| /tools/perf/tests/shell/ |
| A D | stat.sh | 10 if ! perf stat true 2>&1 | grep -E -q "Performance counter stats for 'true':" 21 if ! perf stat record -o - true | perf stat report -i - 2>&1 | \ 33 if ! perf stat record -o - true | perf script -i - 2>&1 | \ 65 if ! perf stat -e '{slots,topdown-retiring}' true > /dev/null 2>&1 74 if perf stat -e "$events" true 2>&1 | grep -E -q "<not supported>" 126 if ! perf stat --no-merge -e "$ok_grouping" true > /dev/null 2>&1 132 if perf stat --no-merge -e "$group_needs_break" true 2>&1 | grep -E -q "<not supported>" 146 if perf stat --cputype="123" -e instructions true > /dev/null 2>&1 164 if perf stat -e "$i_base/instructions/" true > /dev/null 2>&1 177 if ! perf stat --cputype="$pmu" -e instructions true 2>&1 | grep -E -q "instructions" [all …]
|
| A D | stat+json_output.sh | 39 perf stat -j -o "${stat_output}" true 52 perf stat -j -a -o "${stat_output}" true 65 perf stat -j -A -a --no-merge -o "${stat_output}" true 73 perf stat -j -I 1000 -o "${stat_output}" true 82 perf stat -j -e cpu-clock -o "${stat_output}" true 95 perf stat -j --per-core -a -o "${stat_output}" true 108 perf stat -j --per-thread -p $$ -o "${stat_output}" true 121 perf stat -j --per-cache -a true 2>&1 | $PYTHON $pythonchecker --per-cache 145 perf stat -j --per-die -a -o "${stat_output}" true 158 perf stat -j --per-node -a -o "${stat_output}" true [all …]
|
| A D | stat_bpf_counters.sh | 44 …base_instructions=$(perf stat --no-big-num -e instructions -- $workload 2>&1 | awk '/instructions/… 45 …bpf_instructions=$(perf stat --no-big-num --bpf-counters -e instructions -- $workload 2>&1 | awk … 54 …stat_output=$(perf stat --no-big-num -e instructions/name=base_instructions/,instructions/name=bpf… 63 if ! perf stat -e instructions --bpf-counters true > /dev/null 2>&1; then 66 perf --no-pager stat -e instructions --bpf-counters true || true
|
| A D | stat+shadow_stat.sh | 10 perf stat -a true > /dev/null 2>&1 || exit 2 13 perf stat -a -e cycles sleep 1 2>&1 | grep -e cpu_core && exit 2 17 perf stat -a --no-big-num -e cycles,instructions sleep 1 2>&1 | \ 56 perf stat -a -A --no-big-num -e cycles,instructions sleep 1 2>&1 | \
|
| A D | stat_bpf_counters_cgrp.sh | 15 if ! perf stat -a --bpf-counters --for-each-cgroup / true > /dev/null 2>&1; then 18 perf --no-pager stat -a --bpf-counters --for-each-cgroup / true || true 51 …check_system_wide_counted_output=$(perf stat -a --bpf-counters --for-each-cgroup ${test_cgroups} -…
|
| /tools/perf/util/ |
| A D | bpf-trace-summary.c | 78 if (stat->count < 2) in rel_stddev() 81 average = (double)stat->total_time / stat->count; in rel_stddev() 83 variance = stat->squared_sum; in rel_stddev() 84 variance -= (stat->total_time * stat->total_time) / stat->count; in rel_stddev() 85 variance /= stat->count - 1; in rel_stddev() 162 stat->count, stat->error, total, min, avg, max, in print_common_stats() 163 rel_stddev(stat)); in print_common_stats() 236 struct syscall_stats *stat; in update_total_stats() local 265 stat = &data->nodes->stats; in update_total_stats() 274 if (stat->min_time > map_data->min_time || stat->min_time == 0) in update_total_stats() [all …]
|
| A D | path.c | 50 struct stat st; in is_regular_file() 52 if (stat(file, &st)) in is_regular_file() 62 struct stat st; in is_directory() 65 if (stat(path, &st)) in is_directory() 73 struct stat st; in is_directory_at()
|
| /tools/testing/selftests/user_events/ |
| A D | user_events_selftests.h | 21 struct stat buf; in tracefs_enabled() 29 ret = stat("/sys/kernel/tracing", &buf); in tracefs_enabled() 37 ret = stat("/sys/kernel/tracing/README", &buf); in tracefs_enabled() 48 ret = stat("/sys/kernel/tracing/README", &buf); in tracefs_enabled() 62 struct stat buf; in user_events_enabled() 79 ret = stat("/sys/kernel/tracing/user_events_data", &buf); in user_events_enabled()
|
| /tools/testing/selftests/drivers/sdsi/ |
| A D | sdsi_test.py | 67 mode = os.stat(folder + "guid").st_mode & 0o777 69 mode = os.stat(folder + "registers").st_mode & 0o777 81 st = os.stat(folder + "guid") 85 st = os.stat(folder + "registers") 89 st = os.stat(folder + "provision_akc") 93 st = os.stat(folder + "provision_cap") 97 st = os.stat(folder + "state_certificate") 105 st = os.stat(folder + "registers") 108 st = os.stat(folder + "provision_akc") 111 st = os.stat(folder + "provision_cap") [all …]
|
| /tools/bootconfig/ |
| A D | main.c | 158 struct stat stat; in load_xbc_file() local 164 ret = fstat(fd, &stat); in load_xbc_file() 183 struct stat stat; in load_xbc_from_initrd() local 189 ret = fstat(fd, &stat); in load_xbc_from_initrd() 290 struct stat st; in show_xbc() 292 ret = stat(path, &st); in show_xbc() 335 struct stat stat; in delete_xbc() local 351 ret = fstat(fd, &stat); in delete_xbc() 353 ret = ftruncate(fd, stat.st_size in delete_xbc() 374 struct stat stat; in apply_xbc() local [all …]
|
| /tools/perf/tests/ |
| A D | hists_output.c | 183 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1() 195 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1() 219 !strcmp(SYM(he), "free") && he->stat.period == 100); in test1() 337 he->stat.period == 200); in test3() 343 he->stat.period == 100); in test3() 349 he->stat.period == 300); in test3() 355 he->stat.period == 200); in test3() 361 he->stat.period == 200); in test3() 548 !strcmp(SYM(he), "main") && he->stat.period == 100); in test5() 562 !strcmp(SYM(he), "free") && he->stat.period == 100); in test5() [all …]
|
| /tools/testing/selftests/ftrace/test.d/00basic/ |
| A D | test_ownership.tc | 6 original_group=`stat -c "%g" .` 7 original_owner=`stat -c "%u" .` 31 owner=`stat -c "%u" $file` 32 group=`stat -c "%g" $file` 45 owner=`stat -c "%u" $file` 51 owner=`stat -c "%u" $file`
|
| /tools/testing/selftests/mount/ |
| A D | unprivileged-remount-test.c | 118 struct statvfs stat; in read_mnt_flags() local 121 ret = statvfs(path, &stat); 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() 146 if (stat.f_flag & ST_SYNCHRONOUS) in read_mnt_flags() [all …]
|
| /tools/testing/selftests/proc/ |
| A 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/include/nolibc/sys/ |
| A D | stat.h | 43 int fstatat(int fd, const char *path, struct stat *buf, int flag) in fstatat() 77 int stat(const char *path, struct stat *buf) in stat() function 83 int fstat(int fildes, struct stat *buf) in fstat() 89 int lstat(const char *path, struct stat *buf) in lstat()
|
| /tools/net/ynl/samples/ |
| A D | page-pool.c | 13 struct stat { struct 26 struct stat *s; argument 29 static struct stat *find_ifc(struct stats_array *a, unsigned int ifindex) in find_ifc() 47 static void count(struct stat *s, unsigned int l, in count() 81 struct stat *s = find_ifc(&a, pp->ifindex); in main() 94 struct stat *s = find_ifc(&a, pp->info.ifindex); in main() 111 struct stat *s = &a.s[i]; in main()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A 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()
|