Home
last modified time | relevance | path

Searched refs:tstr (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_sockmap.c1105 char tstr[OPTSTRING]; in test_options() local
1120 snprintf(tstr, OPTSTRING, "apply %d,", txmsg_apply); in test_options()
1121 strncat(options, tstr, OPTSTRING); in test_options()
1124 snprintf(tstr, OPTSTRING, "cork %d,", txmsg_cork); in test_options()
1125 strncat(options, tstr, OPTSTRING); in test_options()
1128 snprintf(tstr, OPTSTRING, "start %d,", txmsg_start); in test_options()
1129 strncat(options, tstr, OPTSTRING); in test_options()
1132 snprintf(tstr, OPTSTRING, "end %d,", txmsg_end); in test_options()
1133 strncat(options, tstr, OPTSTRING); in test_options()
1136 snprintf(tstr, OPTSTRING, "pop (%d,%d),", in test_options()
[all …]
/Linux-v5.4/tools/perf/
Dbuiltin-sched.c2007 char tstr[64]; in timehist_print_sample() local
2011 timestamp__scnprintf_usec(t, tstr, sizeof(tstr)); in timehist_print_sample()
2012 printf("%15s [%04d] ", tstr, sample->cpu); in timehist_print_sample()
2369 char tstr[64]; in timehist_print_wakeup_event() local
2381 timestamp__scnprintf_usec(sample->time, tstr, sizeof(tstr)); in timehist_print_wakeup_event()
2382 printf("%15s [%04d] ", tstr, sample->cpu); in timehist_print_wakeup_event()
2434 char tstr[64]; in timehist_print_migration_event() local
2454 timestamp__scnprintf_usec(sample->time, tstr, sizeof(tstr)); in timehist_print_migration_event()
2455 printf("%15s [%04d] ", tstr, sample->cpu); in timehist_print_migration_event()
2648 char tstr[64]; in process_lost() local
[all …]
/Linux-v5.4/tools/perf/ui/browsers/
Dhists.c2605 struct evsel *evsel, const char *tstr) in add_script_opt_2() argument
2610 thread__comm_str(thread), tstr) < 0) in add_script_opt_2()
2614 sym->name, tstr) < 0) in add_script_opt_2()
2617 if (asprintf(optstr, "Run scripts for all samples%s", tstr) < 0) in add_script_opt_2()
2641 char tstr[128]; in add_script_opt() local
2645 j = sprintf(tstr, " in "); in add_script_opt()
2646 j += timestamp__scnprintf_usec(he->time, tstr + j, in add_script_opt()
2647 sizeof tstr - j); in add_script_opt()
2648 j += sprintf(tstr + j, "-"); in add_script_opt()
2650 tstr + j, sizeof tstr - j); in add_script_opt()
[all …]
/Linux-v5.4/tools/power/pm-graph/
Dsleepgraph.py5945 tstr = dt.strftime('%Y/%m/%d %H:%M:%S')
6029 'time': tstr,