| /tools/power/cpupower/utils/ |
| A D | cpuidle-info.c | 35 printf(_("Available idle states:")); in cpuidle_cpu_output() 65 printf(_("Latency: %lu\n"), in cpuidle_cpu_output() 67 printf(_("Residency: %lu\n"), in cpuidle_cpu_output() 69 printf(_("Usage: %lu\n"), in cpuidle_cpu_output() 71 printf(_("Duration: %llu\n"), in cpuidle_cpu_output() 113 printf(_("states:\t\n")); in proc_cpuidle_cpu_output() 118 printf(_("latency[%03lu] "), in proc_cpuidle_cpu_output() 120 printf(_("residency[%05lu] "), in proc_cpuidle_cpu_output() 122 printf(_("usage[%08lu] "), in proc_cpuidle_cpu_output() 124 printf(_("duration[%020Lu] \n"), in proc_cpuidle_cpu_output() [all …]
|
| A D | cpufreq-info.c | 143 printf(_(" boost state support:\n")); in get_boost_mode_x86() 145 printf(_(" Supported: %s\n"), support ? _("yes") : _("no")); in get_boost_mode_x86() 146 printf(_(" Active: %s\n"), active ? _("yes") : _("no")); in get_boost_mode_x86() 239 printf(_(" current CPU frequency: ")); in get_freq_kernel() 283 printf(_("Not Available\n")); in get_hardware_limits() 288 printf(_(" hardware limits: ")); in get_hardware_limits() 324 printf(_(" and ")); in get_policy() 344 printf(_("Not Available\n")); in get_available_governors() 366 printf(_("Not Available\n")); in get_affected_cpus() 387 printf(_("Not Available\n")); in get_related_cpus() [all …]
|
| A D | cpuidle-set.c | 53 printf(_("Bad value: %s, Integer expected\n"), optarg); in cmd_idle_set() 68 printf(_("Bad latency value: %s\n"), optarg); in cmd_idle_set() 88 printf(_("You can't specify more than one " in cmd_idle_set() 92 printf(_("invalid or unknown argument\n")); in cmd_idle_set() 121 printf(_("Idlestate %u not available on CPU %u\n"), in cmd_idle_set() 124 printf(_("Idlestate disabling not supported by kernel\n")); in cmd_idle_set() 126 printf(_("Idlestate %u not disabled on CPU %u\n"), in cmd_idle_set() 134 printf(_("Idlestate %u not available on CPU %u\n"), in cmd_idle_set() 137 printf(_("Idlestate enabling not supported by kernel\n")); in cmd_idle_set() 139 printf(_("Idlestate %u not enabled on CPU %u\n"), in cmd_idle_set() [all …]
|
| A D | cpupower-info.c | 25 printf(_("invalid or unknown argument\n")); in print_wrong_arg_exit() 47 fprintf(stderr, _("Subcommand not supported on POWER.\n")); in cmd_info() 81 printf(_("Intel's performance bias setting needs root privileges\n")); in cmd_info() 83 printf(_("System does not support Intel's performance" in cmd_info() 96 printf(_("analyzing CPU %d:\n"), cpu); in cmd_info() 99 printf(_(" *is offline\n")); in cmd_info() 107 _("Could not read perf-bias value[%d]\n"), ret); in cmd_info() 110 printf(_("perf-bias: %d\n"), ret); in cmd_info()
|
| A D | powercap-info.c | 41 printf(_("%sPower can be monitored in micro Jules\n"), in powercap_print_one_zone() 45 printf(_("%sPower can be monitored in micro Watts\n"), in powercap_print_one_zone() 63 printf(_("No powercapping driver loaded\n")); in powercap_show() 72 printf(_("Powercapping is disabled\n")); in powercap_show() 76 printf(_("Powercap domain hierarchy:\n\n")); in powercap_show() 80 printf(_("No powercap info found\n")); in powercap_show() 110 fprintf(stderr, _("invalid or unknown argument\n")); in cmd_cap_info()
|
| A D | cpupower.c | 70 printf(_("Usage:\tcpupower [-d|--debug] [-c|--cpu cpulist ] <command> [<args>]\n")); in print_help() 72 printf(_("Usage:\tcpupower [-c|--cpu cpulist ] <command> [<args>]\n")); in print_help() 74 printf(_("Supported commands are:\n")); in print_help() 77 printf(_("\nNot all commands can make use of the -c cpulist option.\n")); in print_help() 78 printf(_("\nUse 'cpupower help <command>' for getting help for above commands.\n")); in print_help() 120 printf(_("Report errors and bugs to %s, please.\n"), PACKAGE_BUGREPORT); in print_version() 146 fprintf(stderr, _("Error parsing cpu " in handle_options() 210 fprintf(stderr, _("No valid cpus found.\n")); in main() 222 fprintf(stderr, _("MSR access not available.\n")); in main() 231 fprintf(stderr, _("Subcommand %s needs root " in main()
|
| A D | cpupower-set.c | 29 printf(_("invalid or unknown argument\n")); in print_wrong_arg_exit() 56 fprintf(stderr, _("Subcommand not supported on POWER.\n")); in cmd_set() 73 printf(_("--perf-bias param out " in cmd_set() 143 fprintf(stderr, _("Cannot set values on CPU %d:"), cpu); in cmd_set() 144 fprintf(stderr, _(" *is offline\n")); in cmd_set() 151 fprintf(stderr, _("Error setting perf-bias " in cmd_set()
|
| /tools/perf/tests/shell/ |
| A D | stat+csv_summary.sh | 13 while read summary _ _ _ _ 26 while read _ _ _ _
|
| /tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
| A D | Util.pm | 25 my ($total, $n) = @_; 34 my ($secs, $nsecs) = @_; 40 my ($nsecs) = @_; 46 my ($nsecs) = @_; 52 my ($nsecs) = @_;
|
| A D | Core.pm | 33 my ($value) = @_; 63 my ($event_name, $field_name, $value) = @_; 90 my ($event_name, $field_name, $delim) = @_; 97 my ($event_name, $field_name, $value, $field_str) = @_; 118 my ($event_name, $field_name, $value) = @_; 137 my ($event_name, $field_name) = @_; 144 my ($event_name, $field_name, $value, $field_str) = @_;
|
| /tools/testing/ktest/ |
| A D | config-bisect.pl | 92 print @_; 98 die @_, "\n"; 102 my ($file) = @_; 148 my ($prompt) = @_; 154 my ($prompt) = @_; 269 my ($config) = @_; 275 my ($config) = @_; 320 my ($pa, $pb) = @_; 339 my ($pa, $pb) = @_; 388 my ($config) = @_; [all …]
|
| A D | ktest.pl | 588 print LOG @_; 594 _logit @_; 596 print @_; 601 print @_; 602 _logit @_; 1638 die @_, "\n"; 1854 dodie @_; 2766 my ($i) = @_; 3095 my ($i) = @_; 3683 $_ = $line . " " . $_; [all …]
|
| /tools/testing/selftests/ |
| A D | kselftest_harness.h | 353 _##fixture_name##_##variant_name##_variant; \ 355 _##fixture_name##_##variant_name##_object = \ 357 .data = &_##fixture_name##_##variant_name##_variant}; \ 362 &_##fixture_name##_##variant_name##_object); \ 365 _##fixture_name##_##variant_name##_variant = 473 _##fixture_name##_##test_name##_object = object; \ 872 _##fixture_name##_##variant_name##_##test_name##_xfail = \ 875 .variant = &_##fixture_name##_##variant_name##_object, \ 880 _##fixture_name##_##variant_name##_##test_name##_xfail.test = \ 881 _##fixture_name##_##test_name##_object; \ [all …]
|
| /tools/testing/selftests/bpf/progs/ |
| A D | exceptions.c | 304 check_assert(assert_nz_gfunc, 5, _); 305 check_assert(assert_zero_gfunc, 0, _); 306 check_assert(assert_neg_gfunc, -100, _); 307 check_assert(assert_pos_gfunc, 100, _); 308 check_assert(assert_negeq_gfunc, -1, _); 309 check_assert(assert_poseq_gfunc, 1, _); 311 check_assert(assert_nz_gfunc_with, 5, _); 312 check_assert(assert_zero_gfunc_with, 0, _); 313 check_assert(assert_neg_gfunc_with, -100, _); 314 check_assert(assert_pos_gfunc_with, 100, _); [all …]
|
| A D | test_tcp_estats.c | 41 #define _(P) ({typeof(P) val = 0; bpf_probe_read_kernel(&val, sizeof(val), &P); val;}) macro 173 to[0] = _(from[0]); in unaligned_u32_set() 174 to[1] = _(from[1]); in unaligned_u32_set() 175 to[2] = _(from[2]); in unaligned_u32_set() 176 to[3] = _(from[3]); in unaligned_u32_set() 214 conn_id->localport = _(inet_sk(sk)->inet_sport); in tcp_estats_conn_id_init() 215 conn_id->remport = _(inet_sk(sk)->inet_dport); in tcp_estats_conn_id_init() 217 if (_(sk->sk_family) == AF_INET6) in tcp_estats_conn_id_init()
|
| A D | kfree_skb.c | 16 #define _(P) (__builtin_preserve_access_index(P)) macro 84 meta.ifindex = _(dev->ifindex); in BPF_PROG() 88 bpf_probe_read_kernel(&pkt_type, sizeof(pkt_type), _(&skb->__pkt_type_offset)); in BPF_PROG() 96 _(skb->len), users, pkt_type); in BPF_PROG() 97 bpf_printk("skb->queue_mapping %d\n", _(skb->queue_mapping)); in BPF_PROG()
|
| /tools/perf/scripts/perl/ |
| A D | check-perf-trace.pl | 32 $vec) = @_; 48 $gfp_flags) = @_; 65 my ($context) = @_; 95 $common_pid, $common_comm, $common_callchain) = @_; 102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_;
|
| A D | rwtop.pl | 39 $nr, $ret) = @_; 57 $nr, $fd, $buf, $count) = @_; 70 $nr, $ret) = @_; 83 $nr, $fd, $buf, $count) = @_; 200 $common_pid, $common_comm, $common_callchain) = @_;
|
| /tools/sched_ext/include/scx/ |
| A D | common.h | 67 bpf_map__set_value_size((__skel)->maps.elfsec##_##arr, \ 68 sizeof((__skel)->elfsec##_##arr->arr[0]) * (n)); \ 69 (__skel)->elfsec##_##arr = \ 70 bpf_map__initial_value((__skel)->maps.elfsec##_##arr, &__sz); \
|
| /tools/testing/selftests/net/ |
| A D | bpf_offload.py | 320 _, out = cmd('ls ' + path) 359 _, progs = cmd('ls %s' % (path)) 398 _, data = cmd('cat %s' % (path)) 461 _, out = tc(args, JSON=False) 659 ret, _, err = sim.unset_xdp("", force=True, 711 _, base_maps = bpftool("map") variable 724 _, out = cmd("mount") variable 736 _, _, err = cmd("tc qdisc delete dev lo handle 0", variable 957 ret, _ = sim.set_mtu(9000, fail=False) variable 1008 _, _, err = sim.set_xdp(obj, "offload", verbose=True, include_stderr=True) variable [all …]
|
| /tools/testing/selftests/kvm/include/ |
| A D | kvm_test_harness.h | 27 static void __suite##_##test(struct kvm_vcpu *vcpu); \ 32 __suite##_##test(self->vcpu); \ 34 static void __suite##_##test(struct kvm_vcpu *vcpu)
|
| /tools/testing/selftests/proc/ |
| A D | setns-dcache.c | 48 char _ = 0; in main() local 79 if (write(fd[1], &_, 1) != 1) { in main() 88 if (read(fd[0], &_, 1) != 1) { in main()
|
| A D | setns-sysvipc.c | 47 char _ = 0; in main() local 78 if (write(fd[1], &_, 1) != 1) { in main() 87 if (read(fd[0], &_, 1) != 1) { in main()
|
| /tools/perf/Documentation/ |
| A D | cat-texi.perl | 19 print $tmp $_; 37 print "* ${_}::\n";
|
| /tools/power/cpupower/utils/helpers/ |
| A D | amd.c | 223 printf(_(" amd-pstate limits:\n")); in amd_pstate_show_perf_and_freq() 224 printf(_(" Highest Performance: %lu. Maximum Frequency: "), in amd_pstate_show_perf_and_freq() 233 printf(_(" Nominal Performance: %lu. Nominal Frequency: "), in amd_pstate_show_perf_and_freq() 239 printf(_(" Lowest Non-linear Performance: %lu. Lowest Non-linear Frequency: "), in amd_pstate_show_perf_and_freq() 245 printf(_(" Lowest Performance: %lu. Lowest Frequency: "), in amd_pstate_show_perf_and_freq() 250 printf(_(" Preferred Core Support: %lu. Preferred Core Ranking: %lu.\n"), in amd_pstate_show_perf_and_freq()
|