Home
last modified time | relevance | path

Searched refs:_ (Results 1 – 25 of 86) sorted by relevance

1234

/tools/power/cpupower/utils/
Dcpuidle-info.c30 printf(_("CPU %u: No idle states\n"), cpu); in cpuidle_cpu_output()
34 printf(_("Number of idle states: %d\n"), idlestates); in cpuidle_cpu_output()
35 printf(_("Available idle states:")); in cpuidle_cpu_output()
62 printf(_("Flags/Description: %s\n"), tmp); in cpuidle_cpu_output()
65 printf(_("Latency: %lu\n"), in cpuidle_cpu_output()
67 printf(_("Usage: %lu\n"), in cpuidle_cpu_output()
69 printf(_("Duration: %llu\n"), in cpuidle_cpu_output()
80 printf(_("Could not determine cpuidle driver\n")); in cpuidle_general_output()
84 printf(_("CPUidle driver: %s\n"), tmp); in cpuidle_general_output()
89 printf(_("Could not determine cpuidle governor\n")); in cpuidle_general_output()
[all …]
Dcpufreq-info.c32 …printf(_("Couldn't count the number of CPUs (%s: %s), assuming 1\n"), "/proc/stat", strerror(errno… in count_cpus()
64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output()
171 printf(_("Error while evaluating Boost Capabilities" in get_boost_mode_x86()
181 printf(_(" boost state support:\n")); in get_boost_mode_x86()
183 printf(_(" Supported: %s\n"), support ? _("yes") : _("no")); in get_boost_mode_x86()
184 printf(_(" Active: %s\n"), active ? _("yes") : _("no")); in get_boost_mode_x86()
194 printf(_(" Boost States: %d\n"), b_states); in get_boost_mode_x86()
195 printf(_(" Total States: %d\n"), pstate_no); in get_boost_mode_x86()
200 printf(_(" Pstate-Pb%d: %luMHz (boost state)" in get_boost_mode_x86()
203 printf(_(" Pstate-P%d: %luMHz\n"), in get_boost_mode_x86()
[all …]
Dcpuidle-set.c70 printf(_("Bad latency value: %s\n"), optarg); in cmd_idle_set()
90 printf(_("You can't specify more than one " in cmd_idle_set()
94 printf(_("invalid or unknown argument\n")); in cmd_idle_set()
119 printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); 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()
132 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); 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()
[all …]
Dcpupower-info.c25 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()
Dcpupower-set.c26 printf(_("invalid or unknown argument\n")); in print_wrong_arg_exit()
49 fprintf(stderr, _("Subcommand not supported on POWER.\n")); in cmd_set()
66 printf(_("--perf-bias param out " in cmd_set()
92 fprintf(stderr, _("Cannot set values on CPU %d:"), cpu); in cmd_set()
93 fprintf(stderr, _(" *is offline\n")); in cmd_set()
100 fprintf(stderr, _("Error setting perf-bias " in cmd_set()
Dcpupower.c67 printf(_("Usage:\tcpupower [-d|--debug] [-c|--cpu cpulist ] <command> [<args>]\n")); in print_help()
69 printf(_("Usage:\tcpupower [-c|--cpu cpulist ] <command> [<args>]\n")); in print_help()
71 printf(_("Supported commands are:\n")); in print_help()
74 printf(_("\nNot all commands can make use of the -c cpulist option.\n")); in print_help()
75 printf(_("\nUse 'cpupower help <command>' for getting help for above commands.\n")); in print_help()
117 printf(_("Report errors and bugs to %s, please.\n"), PACKAGE_BUGREPORT); in print_version()
143 fprintf(stderr, _("Error parsing cpu " in handle_options()
205 fprintf(stderr, _("No valid cpus found.\n")); in main()
217 fprintf(stderr, _("MSR access not available.\n")); in main()
226 fprintf(stderr, _("Subcommand %s needs root " in main()
/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DUtil.pm25 my ($total, $n) = @_;
34 my ($secs, $nsecs) = @_;
40 my ($nsecs) = @_;
46 my ($nsecs) = @_;
52 my ($nsecs) = @_;
DCore.pm33 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/lib/traceevent/Documentation/
Dlibtraceevent-tseq.txt24 int *trace_seq_printf*(struct trace_seq pass:[*]_s_, const char pass:[*]_fmt_, _..._);
35 The _trace_seq_init()_ function initializes the trace sequence _s_.
37 The _trace_seq_destroy()_ function destroys the trace sequence _s_ and frees
40 The _trace_seq_reset()_ function re-initializes the trace sequence _s_. All
43 The _trace_seq_terminate()_ function terminates the trace sequence _s_. It puts
46 The _trace_seq_putc()_ function puts a single character _c_ in the trace
49 The _trace_seq_puts()_ function puts a NULL terminated string _str_ in the
52 The _trace_seq_printf()_ function puts a formated string _fmt _with
53 variable arguments _..._ in the trace sequence _s_.
55 The _trace_seq_vprintf()_ function puts a formated string _fmt _with
[all …]
Dlibtraceevent-filter.txt37 The _tep_filter_alloc()_ function creates a new event filter. The _tep_ argument
40 The _tep_filter_free()_ function frees an event filter and all resources that it
43 The _tep_filter_reset()_ function removes all rules from an event filter and
46 The _tep_filter_add_filter_str()_ function adds a new rule to the _filter_. The
49 The _tep_event_filtered()_ function checks if the event with _event_id_ has
52 The _tep_filter_remove_event()_ function removes a _filter_ for an event with
55 The _tep_filter_match()_ function tests if a _record_ matches given _filter_.
57 The _tep_filter_copy()_ function copies a _source_ filter into a _dest_ filter.
59 The _tep_filter_compare()_ function compares two filers - _filter1_ and _filter2_.
61 The _tep_filter_make_string()_ function constructs a string, displaying
[all …]
Dlibtraceevent-plugins.txt26 The _tep_load_plugins()_ function loads all plugins, located in the plugin
34 _(install_preffix)/lib/traceevent/plugins_
36 - User's plugin directory, located at _~/.local/lib/traceevent/plugins_
40 _tep_set_flag()_ API:
47 The _tep_set_flag()_ API needs to be called before _tep_load_plugins()_, if
50 The _tep_unload_plugins()_ function unloads the plugins, previously loaded by
51 _tep_load_plugins()_. The _tep_ argument is trace event parser context. The
53 the _tep_load_plugins()_ function.
56 and calls user specified _load_plugin()_ hook for each plugin file. Only files
58 context, passed to _load_plugin()_. Directories and the walk order are the same
[all …]
Dlibtraceevent-reg_print_func.txt26 …:[*]_tep_, tep_func_handler _func_, enum tep_func_arg_type _ret_type_, char pass:[*]_name_, _..._);
36 The _tep_register_print_function()_ registers such helper function. The _tep_
40 of the helper function, as seen in the print format arguments. The _..._ is a
44 The _tep_unregister_print_function()_ unregisters a helper function, previously
45 registered with _tep_register_print_function()_. The _tep_ argument is the
56 The _tep_register_print_function()_ function returns 0 in case of success.
59 The _tep_unregister_print_function()_ returns 0 in case of success, or -1 in
74 Notice the call to function _yesno()_ in the print arguments. In the kernel
86 The user space event parser has no idea how to handle this _yesno()_ function.
87 The _tep_register_print_function()_ API can be used to register a user space
[all …]
Dlibtraceevent-handle.txt28 The _tep_alloc()_ function allocates and initializes the tep context.
30 The _tep_free()_ function will decrement the reference of the _tep_ handler.
35 The _tep_ref()_ function adds a reference to the _tep_ handler.
37 The _tep_unref()_ function removes a reference from the _tep_ handler. When
41 The _tep_ref_get()_ functions gets the current references of the _tep_ handler.
45 _tep_alloc()_ returns a pointer to a newly created tep_handle structure.
48 _tep_ref_get()_ returns the current references of _tep_.
82 _libtraceevent(3)_, _trace-cmd(1)_
Dlibtraceevent-record_parse.txt33 The _tep_data_type()_ function gets the event id from the record _rec_.
37 The _tep_data_pid()_ function gets the process id from the record _rec_.
41 The _tep_data_preempt_count()_ function gets the preemption count from the
45 The _tep_data_flags()_ function gets the latency flags from the record _rec_.
59 The _tep_data_type()_ function returns an integer, representing the event id.
61 The _tep_data_pid()_ function returns an integer, representing the process id
63 The _tep_data_preempt_count()_ function returns an integer, representing the
66 The _tep_data_flags()_ function returns an integer, representing the latency
118 _libtraceevent(3)_, _trace-cmd(1)_
Dlibtraceevent-host_endian.txt28 The _tep_is_bigendian()_ gets the endianness of the machine, executing
31 The _tep_is_local_bigendian()_ function gets the endianness of the local
33 parser context. This API is a bit faster than _tep_is_bigendian()_, as it
36 The _tep_set_local_bigendian()_ function sets the endianness of the local
47 The _tep_is_bigendian()_ function returns non zero if the endianness of the
50 The _tep_is_local_bigendian()_ function returns true, if the endianness of the
85 _libtraceevent(3)_, _trace-cmd(1)_
Dlibtraceevent-set_flag.txt38 - in user's home directory, _~/.traceevent/plugins_
40 Note: plugin related flags must me set before calling _tep_load_plugins()_ API.
42 The _tep_set_flag()_ function sets _flag_ to _tep_ context.
44 The _tep_clear_flag()_ function clears _flag_ from _tep_ context.
46 The _tep_test_flag()_ function tests if _flag_ is set to _tep_ context.
50 _tep_test_flag()_ function returns true if _flag_ is set, false otherwise.
85 _libtraceevent(3)_, _trace-cmd(1)_
Dlibtraceevent-field_get_val.txt26 The _tep_get_any_field_val()_ function searches in the _record_ for a field
31 The _tep_get_common_field_val()_ function does the same as
32 _tep_get_any_field_val()_, but searches only in the common fields. This works
35 The _tep_get_field_val()_ function does the same as _tep_get_any_field_val()_,
38 The _tep_get_field_raw()_ function searches in the _record_ for a field with
46 The _tep_get_any_field_val()_, _tep_get_common_field_val()_ and
47 _tep_get_field_val()_ functions return 0 on success, or -1 in case of an error.
49 The _tep_get_field_raw()_ function returns a pointer to field's raw data, and
103 _libtraceevent(3)_, _trace-cmd(1)_
Dlibtraceevent-header_page.txt25 The _tep_get_header_page_size()_ function returns the size of a long integer,
29 The _tep_get_header_timestamp_size()_ function returns the size of timestamps,
33 The _tep_is_old_format()_ function returns true if the kernel predates
38 The _tep_get_header_page_size()_ function returns the size of a long integer,
41 The _tep_get_header_timestamp_size()_ function returns the size of timestamps,
44 The _tep_is_old_format()_ function returns true, if an old kernel is used to
83 _libtraceevent(3)_, _trace-cmd(1)_
Dlibtraceevent-event_get.txt21 The _tep_get_event()_ function returns a pointer to event at the given _index_.
25 The _tep_get_first_event()_ function returns a pointer to the first event.
29 The _tep_get_events_count()_ function returns the number of the events
34 The _tep_get_event()_ returns a pointer to the event located at _index_.
38 The _tep_get_first_event()_ returns a pointer to the first event. NULL is
41 The _tep_get_events_count()_ returns the number of the events. 0 is
80 _libtraceevent(3)_, _trace-cmd(1)_
/tools/testing/ktest/
Dconfig-bisect.pl92 print @_;
96 doprint "CRITICAL FAILURE... ", @_, "\n";
98 die @_, "\n";
102 my ($file) = @_;
111 my ($cancel, $prompt) = @_;
148 my ($prompt) = @_;
154 my ($prompt) = @_;
160 my ($command, $redirect) = @_;
249 my ($hash, $config) = @_;
269 my ($config) = @_;
[all …]
Dktest.pl519 print LOG @_;
525 _logit @_;
527 print @_;
532 print @_;
533 _logit @_;
537 my ($cancel, $prompt) = @_;
574 my ($prompt) = @_;
580 my ($prompt) = @_;
586 my ($config) = @_;
617 my ($time) = @_;
[all …]
/tools/testing/selftests/
Dkselftest_harness.h184 static struct __test_metadata _##test_name##_object = \
192 __register_test(&_##test_name##_object); \
232 static struct __fixture_metadata _##fixture_name##_fixture_object = \
237 __register_fixture(&_##fixture_name##_fixture_object); \
327 _##fixture_name##_##variant_name##_variant; \
329 _##fixture_name##_##variant_name##_object = \
331 .data = &_##fixture_name##_##variant_name##_variant}; \
333 _register_##fixture_name##_##variant_name(void) \
335 __register_fixture_variant(&_##fixture_name##_fixture_object, \
336 &_##fixture_name##_##variant_name##_object); \
[all …]
/tools/perf/scripts/perl/
Dcheck-perf-trace.pl32 $vec) = @_;
48 $gfp_flags) = @_;
65 my ($context) = @_;
95 $common_pid, $common_comm, $common_callchain) = @_;
102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_;
/tools/testing/selftests/bpf/progs/
Dtest_tcp_estats.c41 #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()
/tools/testing/selftests/bpf/
Dtest_offload.py173 _, progs = bpftool("prog show", JSON=True, ns=ns, fail=True)
185 _, maps = bpftool("map show", JSON=True, ns=ns, fail=True)
250 ret, _ = ip("netns add %s" % (name), fail=False)
300 _, out = cmd('cat %s/%s' % (self.path, key))
309 _, out = cmd('ls ' + path)
322 _, out = cmd('cat %s/%s' % (path, f))
404 _, progs = cmd('ls %s' % (path))
442 _, [self.dev] = ip("link show dev %s" % ifname)
456 _, data = cmd('cat %s' % (path))
492 _, link = ip("link show dev %s" % (self['ifname']))
[all …]

1234