Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 60) sorted by relevance

123

/tools/testing/selftests/timers/
Dposix_timers.c78 static int check_itimer(int which) in check_itimer() argument
88 if (which == ITIMER_VIRTUAL) in check_itimer()
90 else if (which == ITIMER_PROF) in check_itimer()
92 else if (which == ITIMER_REAL) in check_itimer()
99 if (which == ITIMER_VIRTUAL) in check_itimer()
101 else if (which == ITIMER_PROF) in check_itimer()
103 else if (which == ITIMER_REAL) in check_itimer()
112 err = setitimer(which, &val, NULL); in check_itimer()
118 if (which == ITIMER_VIRTUAL) in check_itimer()
120 else if (which == ITIMER_PROF) in check_itimer()
[all …]
/tools/testing/selftests/powerpc/scripts/
Dhmi.sh19 elif which getscom > /dev/null; then
20 GETSCOM=$(which getscom)
21 PUTSCOM=$(which putscom)
/tools/power/cpupower/lib/
Dcpuidle.c136 enum idlestate_value which) in cpuidle_state_get_one_value() argument
143 if (which >= MAX_IDLESTATE_VALUE_FILES) in cpuidle_state_get_one_value()
147 idlestate_value_files[which], in cpuidle_state_get_one_value()
176 enum idlestate_string which) in cpuidle_state_get_one_string() argument
182 if (which >= MAX_IDLESTATE_STRING_FILES) in cpuidle_state_get_one_string()
186 idlestate_string_files[which], in cpuidle_state_get_one_string()
343 static char *sysfs_cpuidle_get_one_string(enum cpuidle_string which) in sysfs_cpuidle_get_one_string() argument
349 if (which >= MAX_CPUIDLE_STRING_FILES) in sysfs_cpuidle_get_one_string()
352 len = sysfs_cpuidle_read_file(cpuidle_string_files[which], in sysfs_cpuidle_get_one_string()
Dcpufreq.c89 enum cpufreq_value which) in sysfs_cpufreq_get_one_value() argument
96 if (which >= MAX_CPUFREQ_VALUE_READ_FILES) in sysfs_cpufreq_get_one_value()
99 len = sysfs_cpufreq_read_file(cpu, cpufreq_value_files[which], in sysfs_cpufreq_get_one_value()
128 enum cpufreq_string which) in sysfs_cpufreq_get_one_string() argument
134 if (which >= MAX_CPUFREQ_STRING_FILES) in sysfs_cpufreq_get_one_string()
137 len = sysfs_cpufreq_read_file(cpu, cpufreq_string_files[which], in sysfs_cpufreq_get_one_string()
170 enum cpufreq_write which, in sysfs_cpufreq_write_one_value() argument
173 if (which >= MAX_CPUFREQ_WRITE_FILES) in sysfs_cpufreq_write_one_value()
176 if (sysfs_cpufreq_write_file(cpu, cpufreq_write_files[which], in sysfs_cpufreq_write_one_value()
/tools/power/cpupower/utils/helpers/
Dsysfs.c206 enum idlestate_value which) in sysfs_idlestate_get_one_value() argument
213 if (which >= MAX_IDLESTATE_VALUE_FILES) in sysfs_idlestate_get_one_value()
217 idlestate_value_files[which], in sysfs_idlestate_get_one_value()
246 enum idlestate_string which) in sysfs_idlestate_get_one_string() argument
252 if (which >= MAX_IDLESTATE_STRING_FILES) in sysfs_idlestate_get_one_string()
256 idlestate_string_files[which], in sysfs_idlestate_get_one_string()
413 static char *sysfs_cpuidle_get_one_string(enum cpuidle_string which) in sysfs_cpuidle_get_one_string() argument
419 if (which >= MAX_CPUIDLE_STRING_FILES) in sysfs_cpuidle_get_one_string()
422 len = sysfs_cpuidle_read_file(cpuidle_string_files[which], in sysfs_cpuidle_get_one_string()
/tools/perf/Documentation/
Dperf-buildid-cache.txt19 record it along with the buildid-cache, which will be used by perf-probe.
30 /proc/kcore which requires root permissions to read. Be aware that
42 Remove a cached binary which has same build-id of specified file
46 Purge all cached binaries including older caches which have specified
55 (or remote) perf.data. Only if there is already a cache which has
Dperf-probe.txt38 Specify vmlinux path which has debuginfo (Dwarf binary).
44 Specify module name in which perf-probe searches probe points
47 a module which has not been loaded yet).
81 Show source code lines which can be probed. This needs an argument
82 which specifies a range of the source code. (see LINE SYNTAX for detail)
95 which do not have instances are ignored.
125 (With --add) Cache the probes. Any events which successfully added
176 …f the probe point definition. In addition, '@SRC' specifies a source file which has that function.
179 'SDTEVENT' and 'PROVIDER' is the pre-defined event name which is defined by user SDT (Statically De…
180 Note that before using the SDT event, the target binary (on which SDT events are defined) must be s…
[all …]
Dintel-pt.txt19 Trace data must be 'decoded' which involves walking the object code and matching
22 decoder must know precisely which instruction was being executed.
34 builds, however the executed images are needed - which makes use in JIT-compiled
39 (hundreds of megabytes per second per core) which takes a long time to decode,
69 which will create a directory named 'pt_ls' and put the perf.data file and
91 data is available you can use the 'perf script' tool with no parameters, which
97 An interesting field that is not printed by default is 'flags' which can be
102 The flags are "bcrosyiABEx" which stand for branch, call, return, conditional,
111 There is also script intel-pt-events.py which provides an example of how to
115 data captured is to use 'snapshot' mode which is explained further below.
[all …]
Dperf-record.txt48 There are also some parameters which are not defined in .../<pmu>/format/*.
63 Note: If user explicitly sets options which conflict with the params,
82 number of bytes from specified addr, which the breakpoint will cover.
94 Event filter. This option should follow a event selector (-e) which
115 - 'start': defines an address at which tracing will begin.
116 - 'stop': defines an address at which tracing will stop.
117 - 'tracestop': defines a region in which tracing will stop.
123 If no object file is specified then the kernel is assumed, in which case
130 the name of a symbol, in which case the size is calculated to the end
153 a event selector (-e) which selects tracepoint event(s). It adds a
[all …]
Dperf-kvm.txt57 And this command produces a file which contains tracing results of kvm
60 'perf kvm stat report' reports statistical data which includes events
103 analyze events which occur on this vcpu. (default: all vcpus)
137 analyze events which occur on this vcpu. (default: all vcpus)
Dperf-lock.txt20 produces the file "perf.data" which contains tracing
Dperf-config.txt176 'top' means a overhead percentage which is more than 5%.
181 'medium' means a overhead percentage which has more than 0.5%.
233 If a program which is analyzed has source code,
279 arrows can be printed or not which represent
402 'callee' which means callee is printed at top and then followed by its
425 histogram entry. Default is 0 which means no limitation.
436 is '10', only entries which have more than 10% of overhead will be
490 This option decides which allocator is to be analyzed if neither
504 The default is 0, which means sorting by baseline.
Dexamples.txt77 To check which functions generated page allocations:
190 and check which instructions/source-code generated page allocations:
213 other different usecases straight away - neither of which is
Djitdump-specification.txt62 * Value 1 : JIT_CODE_MOVE : record describing an already jitted function which is moved
122 * uint64_t code_addr: address of function for which the debug information is generated
127 * uint64_t code_addr: address of function for which the debug information is generated
170 …en only the EH Frame Header will be read, which can be used to specify FP based unwinding for a fu…
DBuild.txt5 which are linked together to form the perf binary:
/tools/testing/selftests/ftrace/
DREADME52 * PASS: The test succeeded as expected. The test which exits with 0 is
55 * FAIL: The test failed, but was expected to succeed. The test which exits
60 or the test depends on a previous test, which failed.
62 The test which is in above situation, must call exit_unresolved.
/tools/objtool/Documentation/
Dstack-validation.txt9 objtool which runs at compile time. It has a "check" subcommand which
18 .altinstructions, __jump_table, and __ex_table, which can add
21 which gcc sometimes uses jump tables.
23 (Objtool also has an 'orc generate' subcommand which generates debuginfo
48 hand, which most people don't do. So the end result is that
52 functions which call other functions must first create a stack frame
108 Livepatch has an optional "consistency model", which is needed for
125 callable code which should be annotated accordingly.
130 2. Conversely, each section of code which is *not* callable should *not*
137 3. Each callable function which calls another function must have the
[all …]
/tools/testing/selftests/x86/
Dtest_vsyscall.c201 const char *which, in check_gtod() argument
209 printf("[FAIL] %s tz mismatch\n", which); in check_gtod()
215 printf("\t%s time offsets: %lf %lf\n", which, d1, d2); in check_gtod()
218 printf("[FAIL]\t%s time was inconsistent with the syscall\n", which); in check_gtod()
221 printf("[OK]\t%s gettimeofday()'s timeval was okay\n", which); in check_gtod()
Dfsgsbase.c76 static unsigned long read_base(enum which_base which) in read_base() argument
87 if (which == FS) { in read_base()
103 if (which == FS) { in read_base()
/tools/perf/pmu-events/
DREADME5 The main program in this directory, is the 'jevents', which is built and
12 JSON files, each of which describes a set of PMU events.
33 'pmu-events.c', which encodes the two sets of tables:
67 'pmu-events.o' is added to 'libperf.a' which is then used to build perf.
108 Lines in which the first character is either '\n' or '#'
112 The header line is the first line in the file, which is
/tools/usb/usbip/
DREADME9 network. Server is a machine which provides (shares) a USB device. Client is
10 a machine which uses USB device provided by server over the network.
16 A client side kernel module which provides a virtual USB Host Controller
20 A server side module which provides a USB device driver which can be
24 A server side module which provides a virtual USB Device Controller and allows
62 On a server side there are two entities which can be shared.
/tools/testing/selftests/sysctl/
Dsysctl.sh107 if ! which perl 2> /dev/null > /dev/null; then
111 if ! which getconf 2> /dev/null > /dev/null; then
115 if ! which diff 2> /dev/null > /dev/null; then
/tools/testing/selftests/powerpc/math/
Dvsx_asm.S15 #call to a comparison function in C which boils down to a memcmp()
/tools/testing/selftests/kmod/
Dkmod.sh106 if ! which modprobe 2> /dev/null > /dev/null; then
111 if ! which kmod 2> /dev/null > /dev/null; then
/tools/build/Documentation/
DBuild.txt40 which includes all compiled sources described in 'Build' makefiles.
58 Out of which you build the 'ex' binary ' and the 'libex.a' library:
86 which creates the following objects:

123