/tools/testing/selftests/timers/ |
D | posix_timers.c | 78 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/ |
D | hmi.sh | 19 elif which getscom > /dev/null; then 20 GETSCOM=$(which getscom) 21 PUTSCOM=$(which putscom)
|
/tools/power/cpupower/lib/ |
D | cpuidle.c | 136 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()
|
D | cpufreq.c | 89 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/ |
D | sysfs.c | 206 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/ |
D | perf-buildid-cache.txt | 19 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
|
D | perf-probe.txt | 38 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 171 …f the probe point definition. In addition, '@SRC' specifies a source file which has that function. 174 'SDTEVENT' and 'PROVIDER' is the pre-defined event name which is defined by user SDT (Statically De… 175 Note that before using the SDT event, the target binary (on which SDT events are defined) must be s… [all …]
|
D | intel-pt.txt | 19 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, 112 data captured is to use 'snapshot' mode which is explained further below. 118 which results in the decoder not knowing what code was executed. [all …]
|
D | perf-record.txt | 48 There are also some params which are not defined in .../<pmu>/format/*. 60 Note: If user explicitly sets options which conflict with the params, 79 number of bytes from specified addr, which the breakpoint will cover. 91 Event filter. This option should follow a event selector (-e) which 112 - 'start': defines an address at which tracing will begin. 113 - 'stop': defines an address at which tracing will stop. 114 - 'tracestop': defines a region in which tracing will stop. 120 If no object file is specified then the kernel is assumed, in which case 127 the name of a symbol, in which case the size is calculated to the end 150 a event selector (-e) which selects tracepoint event(s). It adds a [all …]
|
D | perf-kvm.txt | 57 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)
|
D | perf-lock.txt | 20 produces the file "perf.data" which contains tracing
|
D | perf-report.txt | 75 - comm: command (name) of the task which can be read via /proc/<pid>/comm 154 The field name can have '/raw' suffix which disables pretty printing 202 One exception is the print_limit which should be preceded by threshold. 212 threshold is a percentage value which specifies a minimum percent to be 322 information which may be very large and thus may clutter the display. 361 Do not show entries which have an overhead under that percent. 401 However, perf report cannot show callgraphs for the event which 404 which collected by reference event, in no callgraph event.
|
D | perf-config.txt | 141 'top' means a overhead percentage which is more than 5%. 146 'medium' means a overhead percentage which has more than 0.5%. 198 If a program which is analyzed has source code, 244 arrows can be printed or not which represent 367 'callee' which means callee is printed at top and then followed by its 390 histogram entry. Default is 0 which means no limitation. 401 is '10', only entries which have more than 10% of overhead will be 455 This option decides which allocator is to be analyzed if neither
|
D | examples.txt | 77 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
|
D | Build.txt | 5 which are linked together to form the perf binary:
|
/tools/objtool/Documentation/ |
D | stack-validation.txt | 9 objtool which runs at compile time. It has a "check" subcommand which 21 .altinstructions, __jump_table, and __ex_table, which can add 24 which gcc sometimes uses jump tables. 47 hand, which most people don't do. So the end result is that 51 functions which call other functions must first create a stack frame 107 asm code, generating CFI is a tedious manual approach which requires 113 which already has CFI annotations, it will validate them. For code 114 which doesn't have CFI annotations, it will generate them. So an 133 framework which is safe for roughly 85-90% of "security" fixes. But 137 There's a strong need to support patches which have the more complex [all …]
|
/tools/testing/selftests/ftrace/ |
D | README | 52 * 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/testing/selftests/x86/ |
D | test_vsyscall.c | 196 const char *which, in check_gtod() argument 204 printf("[FAIL] %s tz mismatch\n", which); in check_gtod() 210 printf("\t%s time offsets: %lf %lf\n", which, d1, d2); in check_gtod() 213 printf("[FAIL]\t%s time was inconsistent with the syscall\n", which); in check_gtod() 216 printf("[OK]\t%s gettimeofday()'s timeval was okay\n", which); in check_gtod()
|
D | fsgsbase.c | 76 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/ |
D | README | 5 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. 112 Lines in which the first character is either '\n' or '#' 116 The header line is the first line in the file, which is
|
/tools/lguest/ |
D | lguest.txt | 14 - Kernel module which runs in a normal kernel. 36 "Alignment value to which kernel should be aligned" = 0x100000 85 --block=rootfile: a file or block device which becomes /dev/vda
|
/tools/testing/selftests/powerpc/math/ |
D | vsx_asm.S | 15 #call to a comparison function in C which boils down to a memcmp()
|
/tools/build/Documentation/ |
D | Build.txt | 40 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:
|
/tools/usb/usbip/ |
D | COPYING | 40 (2) offer you this license which gives you legal permission to copy, 62 0. This License applies to any program or other work which contains 119 distribute the same sections as part of a whole which is a work based 139 source code, which must be distributed under the terms of Sections 163 operating system on which the executable runs, unless that component 218 integrity of the free software distribution system, which is 243 specifies a version number of this License which applies to it and "any 252 to ask for permission. For software which is copyrighted by the Free 286 free software which everyone can redistribute and change under these terms. 331 `Gnomovision' (which makes passes at compilers) written by James Hacker.
|
/tools/testing/selftests/rcutorture/doc/ |
D | initrd.txt | 16 Another way to create an initramfs image is using "dracut"[1], which is 54 # are used; which they will be, but it's worth pointing out
|