/tools/power/cpupower/lib/ |
D | cpufreq.c | 266 struct cpufreq_available_governors *current = NULL; in cpufreq_get_available_governors() local 281 if (current) { in cpufreq_get_available_governors() 282 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors() 283 if (!current->next) in cpufreq_get_available_governors() 285 current = current->next; in cpufreq_get_available_governors() 290 current = first; in cpufreq_get_available_governors() 292 current->first = first; in cpufreq_get_available_governors() 293 current->next = NULL; in cpufreq_get_available_governors() 295 current->governor = malloc(i - pos + 1); in cpufreq_get_available_governors() 296 if (!current->governor) in cpufreq_get_available_governors() [all …]
|
/tools/testing/selftests/timers/ |
D | rtctest_setdate.c | 33 struct rtc_time new, current; in main() local 74 retval = ioctl(fd, RTC_RD_TIME, ¤t); in main() 81 current.tm_mday, current.tm_mon + 1, current.tm_year + 1900, in main() 82 current.tm_hour, current.tm_min, current.tm_sec); in main()
|
D | rtctest.c | 348 struct rtc_time current; in main() local 359 retval = ioctl(fd, RTC_RD_TIME, ¤t); in main() 365 if(compare_dates(&cutoff_dates[i], ¤t)) { in main() 382 retval = ioctl(fd, RTC_ALM_READ, ¤t); in main() 388 if(compare_dates(&cutoff_dates[i], ¤t)) { in main()
|
/tools/testing/selftests/gpio/ |
D | gpio-mockup-chardev.c | 134 struct gpiochip_info *current; in list_gpiochip() local 145 current = cinfo; in list_gpiochip() 167 *ret = ioctl(fd, GPIO_GET_CHIPINFO_IOCTL, current); in list_gpiochip() 173 if (strcmp(current->label, gpiochip_name) == 0 in list_gpiochip() 174 || check_prefix(current->label, gpiochip_name)) { in list_gpiochip() 176 current++; in list_gpiochip() 279 struct gpiochip_info *current; in main() local 306 current = cinfo; in main() 308 gpio_pin_tests(current, 0); in main() 309 gpio_pin_tests(current, current->lines - 1); in main() [all …]
|
/tools/iio/ |
D | iio_utils.c | 34 char *current; in iioutils_break_up_name() local 46 current = strdup(full_name + strlen(prefix) + 1); in iioutils_break_up_name() 47 if (!current) in iioutils_break_up_name() 50 working = strtok(current, "_\0"); in iioutils_break_up_name() 52 free(current); in iioutils_break_up_name() 69 free(current); in iioutils_break_up_name() 320 struct iio_channel_info *current; in build_channel_array() local 387 current = &(*ci_array)[count++]; in build_channel_array() 426 current->scale = 1.0; in build_channel_array() 427 current->offset = 0; in build_channel_array() [all …]
|
/tools/testing/selftests/powerpc/pmu/ |
D | count_instructions.c | 76 u64 current, overhead; in determine_overhead() local 84 current = events[0].result.value; in determine_overhead() 85 if (current < overhead) { in determine_overhead() 86 printf("Replacing overhead %llu with %llu\n", overhead, current); in determine_overhead() 87 overhead = current; in determine_overhead()
|
D | lib.c | 193 long current; in require_paranoia_below() local 211 current = strtol(buf, &end, 10); in require_paranoia_below() 218 if (current >= level) in require_paranoia_below()
|
/tools/testing/selftests/powerpc/pmu/ebb/ |
D | instruction_count_test.c | 72 uint64_t current, overhead; in determine_overhead() local 80 current = event->result.value; in determine_overhead() 81 if (current < overhead) { in determine_overhead() 82 printf("Replacing overhead %lu with %lu\n", overhead, current); in determine_overhead() 83 overhead = current; in determine_overhead()
|
/tools/perf/ |
D | builtin-timechart.c | 104 struct per_pidcomm *current; member 226 p->current = c; in pid_set_comm() 231 p->current = c; in pid_set_comm() 239 p->current = c; in pid_set_comm() 250 if (pp->current && pp->current->comm && !p->current) in pid_fork() 251 pid_set_comm(tchart, pid, pp->current->comm); in pid_fork() 254 if (p->current && !p->current->start_time) { in pid_fork() 255 p->current->start_time = timestamp; in pid_fork() 256 p->current->state_since = timestamp; in pid_fork() 265 if (p->current) in pid_exit() [all …]
|
D | design.txt | 155 A read() on a counter returns the current value of the counter and possible 237 current task. 239 pid > 0: the counter is attached to a specific task (if the current task 441 This applies to all counters on the current process, whether created
|
D | builtin-trace.c | 85 struct thread *current; member 1535 if (trace->current == NULL) in trace__printf_interrupted_entry() 1538 ttrace = thread__priv(trace->current); in trace__printf_interrupted_entry() 1545 …printed = trace__fprintf_entry_head(trace, trace->current, duration, true, ttrace->entry_time, tr… in trace__printf_interrupted_entry() 1601 if (trace->current != thread) { in trace__sys_enter() 1602 thread__put(trace->current); in trace__sys_enter() 1603 trace->current = thread__get(thread); in trace__sys_enter() 2486 thread__zput(trace->current); in trace__run()
|
/tools/testing/selftests/ftrace/test.d/ |
D | functions | 14 reset_tracer() { # reset the current tracer 34 reset_trigger() { # reset all current setting triggers 41 reset_events_filter() { # reset all current setting filters
|
/tools/include/linux/ |
D | lockdep.h | 38 #define current (__curr()) macro
|
/tools/spi/ |
D | spidev_test.c | 465 struct timespec current; in main() local 469 clock_gettime(CLOCK_MONOTONIC, ¤t); in main() 470 if (current.tv_sec - last_stat.tv_sec > interval) { in main() 472 last_stat = current; in main()
|
/tools/perf/util/ |
D | db-export.c | 276 struct call_path *current = &dbe->cpr->call_path; in call_path_from_sample() local 324 current = call_path__findnew(dbe->cpr, current, in call_path_from_sample() 334 if (current == &dbe->cpr->call_path) { in call_path_from_sample() 339 return current; in call_path_from_sample()
|
/tools/power/cpupower/ |
D | ToDo | 4 (current implementation has issues on AMD)
|
/tools/perf/Documentation/ |
D | perf-script-perl.txt | 100 $common_pid the pid of the current task 101 $common_comm the name of the current process 194 access this data in the context of the current event. Each of these 199 common_pc($context) - returns common_preempt count for the current event 200 common_flags($context) - returns common_flags for the current event 201 common_lock_depth($context) - returns common_lock_depth for the current event
|
D | perf-script-python.txt | 104 That single stream will be recorded in a file in the current directory 116 The output file created also in the current directory is named 492 common_pid the pid of the current task 493 common_comm the name of the current process 593 access this data in the context of the current event. Each of these 598 common_pc(context) - returns common_preempt count for the current event 599 common_flags(context) - returns common_flags for the current event 600 common_lock_depth(context) - returns common_lock_depth for the current event
|
D | tips.txt | 33 Show current config key-value pairs: perf config --list
|
D | perf-buildid-cache.txt | 29 Add specified kcore file to the cache. For the current host that is
|
D | perf-config.txt | 24 Show current config variables, name and value, for all sections. 188 This selects the colors for the current entry in a list of entries 352 current overhead (33.33%).
|
/tools/testing/selftests/tc-testing/ |
D | README | 21 To check what is required in current setup run: 25 In the current release, tdc run will abort due to a failure in setup or 28 handled in a future version - the current workaround is to run the tests
|
/tools/perf/ui/ |
D | browser.h | 35 double percent, bool current);
|
D | browser.c | 22 double percent, bool current) in ui_browser__percent_color() argument 24 if (current && (!browser->use_navkeypressed || browser->navkeypressed)) in ui_browser__percent_color() 42 double percent, bool current) in ui_browser__set_percent_color() argument 44 int color = ui_browser__percent_color(browser, percent, current); in ui_browser__set_percent_color()
|
/tools/perf/ui/browsers/ |
D | annotate.c | 95 int nr, bool current) in annotate_browser__jumps_percent_color() argument 97 if (current && (!browser->b.use_navkeypressed || browser->b.navkeypressed)) in annotate_browser__jumps_percent_color() 107 int nr, bool current) in annotate_browser__set_jumps_percent_color() argument 109 int color = annotate_browser__jumps_percent_color(browser, nr, current); in annotate_browser__set_jumps_percent_color()
|