Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 25 of 76) sorted by relevance

1234

/tools/perf/tests/attr/
Dtest-stat-detailed-32 command = stat
8 [event1:base-stat]
14 [event2:base-stat]
20 [event3:base-stat]
26 [event4:base-stat]
32 [event5:base-stat]
38 [event6:base-stat]
44 [event7:base-stat]
50 [event8:base-stat]
56 [event9:base-stat]
[all …]
Dtest-stat-detailed-22 command = stat
8 [event1:base-stat]
14 [event2:base-stat]
20 [event3:base-stat]
26 [event4:base-stat]
32 [event5:base-stat]
38 [event6:base-stat]
44 [event7:base-stat]
50 [event8:base-stat]
56 [event9:base-stat]
[all …]
Dtest-stat-detailed-12 command = stat
8 [event1:base-stat]
14 [event2:base-stat]
20 [event3:base-stat]
26 [event4:base-stat]
32 [event5:base-stat]
38 [event6:base-stat]
44 [event7:base-stat]
50 [event8:base-stat]
56 [event9:base-stat]
[all …]
Dtest-stat-default2 command = stat
7 [event1:base-stat]
13 [event2:base-stat]
19 [event3:base-stat]
25 [event4:base-stat]
31 [event5:base-stat]
37 [event6:base-stat]
43 [event7:base-stat]
49 [event8:base-stat]
55 [event9:base-stat]
[all …]
DREADME57 perf stat -e cycles kill (test-stat-basic)
58 perf stat kill (test-stat-default)
59 perf stat -d kill (test-stat-detailed-1)
60 perf stat -dd kill (test-stat-detailed-2)
61 perf stat -ddd kill (test-stat-detailed-3)
62 perf stat --group -e cycles,instructions kill (test-stat-group)
63 perf stat -e '{cycles,instructions}' kill (test-stat-group1)
64 perf stat -i -e cycles kill (test-stat-no-inherit)
Dtest-stat-group12 command = stat
6 [event-1:base-stat]
10 [event-2:base-stat]
Dtest-stat-group2 command = stat
6 [event-1:base-stat]
10 [event-2:base-stat]
Dtest-stat-basic2 command = stat
6 [event:base-stat]
Dtest-stat-no-inherit2 command = stat
6 [event:base-stat]
Dtest-stat-C02 command = stat
6 [event:base-stat]
/tools/perf/tests/
Dhists_output.c167 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1()
173 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
179 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1()
185 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1()
191 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
197 !strcmp(SYM(he), "schedule") && he->stat.period == 100); in test1()
203 !strcmp(SYM(he), "free") && he->stat.period == 100); in test1()
209 !strcmp(SYM(he), "malloc") && he->stat.period == 100); in test1()
215 !strcmp(SYM(he), "cmd_record") && he->stat.period == 100); in test1()
266 CPU(he) == 1 && PID(he) == 100 && he->stat.period == 300); in test2()
[all …]
/tools/testing/selftests/mount/
Dunprivileged-remount-test.c117 struct statvfs stat; in read_mnt_flags() local
120 ret = statvfs(path, &stat); in read_mnt_flags()
125 if (stat.f_flag & ~(ST_RDONLY | ST_NOSUID | ST_NODEV | \ in read_mnt_flags()
131 if (stat.f_flag & ST_RDONLY) in read_mnt_flags()
133 if (stat.f_flag & ST_NOSUID) in read_mnt_flags()
135 if (stat.f_flag & ST_NODEV) in read_mnt_flags()
137 if (stat.f_flag & ST_NOEXEC) in read_mnt_flags()
139 if (stat.f_flag & ST_NOATIME) in read_mnt_flags()
141 if (stat.f_flag & ST_NODIRATIME) in read_mnt_flags()
143 if (stat.f_flag & ST_RELATIME) in read_mnt_flags()
[all …]
/tools/perf/util/
Dabspath.c7 struct stat cwd_stat, pwd_stat; in get_pwd_cwd()
12 stat(cwd, &cwd_stat); in get_pwd_cwd()
13 if (!stat(pwd, &pwd_stat) && in get_pwd_cwd()
Dtrace-event-info.c108 struct stat st; in record_header_files()
117 if (stat(path, &st) < 0) { in record_header_files()
141 if (stat(path, &st) < 0) { in record_header_files()
176 struct stat st; in copy_event_system()
199 ret = stat(format, &st); in copy_event_system()
223 ret = stat(format, &st); in copy_event_system()
272 struct stat st; in record_event_files()
321 ret = stat(sys, &st); in record_event_files()
346 struct stat st; in record_proc_kallsyms()
349 ret = stat(path, &st); in record_proc_kallsyms()
[all …]
Ddata.c14 struct stat st; in check_pipe()
35 struct stat st; in check_backup()
37 if (!stat(file->path, &st) && st.st_size) { in check_backup()
51 struct stat st; in open_file_read()
Dpmu.c74 struct stat st; in pmu_format()
84 if (stat(path, &st) < 0) in pmu_format()
95 struct stat st; in perf_pmu__parse_scale()
266 struct stat st; in pmu_aliases()
276 if (stat(path, &st) < 0) in pmu_aliases()
311 struct stat st; in pmu_type()
323 if (stat(path, &st) < 0) in pmu_type()
367 struct stat st; in pmu_cpumask()
379 if (stat(path, &st) < 0) in pmu_cpumask()
810 struct stat st; in perf_pmu__open_file()
[all …]
Dhist.c227 u64 prev_period = he->stat.period; in hists__decay_entry()
233 he_stat__decay(&he->stat); in hists__decay_entry()
237 diff = prev_period - he->stat.period; in hists__decay_entry()
243 return he->stat.period == 0; in hists__decay_entry()
318 he->stat_acc = malloc(sizeof(he->stat)); in hist_entry__new()
323 memcpy(he->stat_acc, &he->stat, sizeof(he->stat)); in hist_entry__new()
325 memset(&he->stat, 0, sizeof(he->stat)); in hist_entry__new()
385 u64 period = entry->stat.period; in add_hist_entry()
386 u64 weight = entry->stat.weight; in add_hist_entry()
404 he_stat__add_period(&he->stat, period, weight); in add_hist_entry()
[all …]
Dutil.c51 struct stat st; in mkdir_p()
58 if (stat(path, &st) == 0) in mkdir_p()
65 err = stat(path, &st) && mkdir(path, mode); in mkdir_p()
72 return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0; in mkdir_p()
108 struct stat st; in copyfile_mode()
112 if (stat(from, &st)) in copyfile_mode()
/tools/power/cpupower/utils/helpers/
Dsysfs.c56 struct stat statbuf; in sysfs_is_cpu_online()
60 if (stat(path, &statbuf) != 0) in sysfs_is_cpu_online()
68 if (stat(path, &statbuf) != 0) in sysfs_is_cpu_online()
109 struct stat statbuf; in sysfs_idlestate_file_exists()
114 if (stat(path, &statbuf) != 0) in sysfs_idlestate_file_exists()
358 struct stat statbuf; in sysfs_get_idlestate_count()
363 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in sysfs_get_idlestate_count()
367 if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) in sysfs_get_idlestate_count()
370 while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { in sysfs_get_idlestate_count()
/tools/perf/Documentation/
Dperf-stat.txt1 perf-stat(1)
6 perf-stat - Run a command and gather performance counter statistics
11 'perf stat' [-e <EVENT> | --event=EVENT] [-a] <command>
12 'perf stat' [-e <EVENT> | --event=EVENT] [-a] -- <command> [<options>]
38 stat events on existing process id (comma separated list)
42 stat events on existing thread id (comma separated list)
116 3>results perf stat --log-fd 3 -- $cmd
117 3>>results perf stat --log-fd 3 --append -- $cmd
123 perf stat --repeat 10 --null --sync --pre 'make -s O=defconfig-build/clean' -- make -s -j64 O=defco…
128 example: perf stat -I 1000 -e cycles -a sleep 5
[all …]
Dperf-kmem.txt11 'perf kmem' {record|stat} [<options>]
20 'perf kmem stat' to report kernel memory statistics.
Dperf-kvm.txt15 | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} [<options>]
16 'perf kvm stat [record|report|live] [<options>]
51 'perf kvm stat <command>' to run a command and gather performance counter
53 Especially, perf 'kvm stat record/report' generates a statistical analysis
55 events are supported. 'perf kvm stat record <command>' records kvm events
60 'perf kvm stat report' reports statistical data which includes events
63 'perf kvm stat live' reports statistical data in a live mode (similar to
158 linkperf:perf-stat[1]
/tools/power/acpi/os_specific/service_layers/
Dosunixdir.c130 struct stat temp_stat; in acpi_os_get_next_filename()
154 err = stat(temp_str, &temp_stat); in acpi_os_get_next_filename()
/tools/perf/
Dbuiltin-diff.c229 double old_percent = period_percent(he, he->stat.period); in compute_delta()
230 double new_percent = period_percent(pair, pair->stat.period); in compute_delta()
239 double old_period = he->stat.period ?: 1; in compute_ratio()
240 double new_period = pair->stat.period; in compute_ratio()
249 u64 old_period = he->stat.period; in compute_wdiff()
250 u64 new_period = pair->stat.period; in compute_wdiff()
272 pair->stat.period, pair_total, in formula_delta()
273 he->stat.period, he_total); in formula_delta()
279 double old_period = he->stat.period; in formula_ratio()
280 double new_period = pair->stat.period; in formula_ratio()
[all …]
/tools/perf/arch/s390/
DMakefile7 LIB_OBJS += $(OUTPUT)arch/$(ARCH)/util/kvm-stat.o

1234