Home
last modified time | relevance | path

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

/linux-5.15/tools/testing/selftests/bpf/
A Dtest_sockmap.c1289 char tstr[OPTSTRING]; in test_options() local
1300 snprintf(tstr, OPTSTRING, "apply %d,", txmsg_apply); in test_options()
1301 append_str(options, tstr, OPTSTRING); in test_options()
1304 snprintf(tstr, OPTSTRING, "cork %d,", txmsg_cork); in test_options()
1305 append_str(options, tstr, OPTSTRING); in test_options()
1308 snprintf(tstr, OPTSTRING, "start %d,", txmsg_start); in test_options()
1309 append_str(options, tstr, OPTSTRING); in test_options()
1312 snprintf(tstr, OPTSTRING, "end %d,", txmsg_end); in test_options()
1313 append_str(options, tstr, OPTSTRING); in test_options()
1316 snprintf(tstr, OPTSTRING, "pop (%d,%d),", in test_options()
[all …]
/linux-5.15/tools/perf/
H A Dbuiltin-sched.c2012 char tstr[64]; in timehist_print_sample() local
2019 timestamp__scnprintf_usec(t, tstr, sizeof(tstr)); in timehist_print_sample()
2020 printf("%15s [%04d] ", tstr, sample->cpu); in timehist_print_sample()
2377 char tstr[64]; in timehist_print_wakeup_event() local
2389 timestamp__scnprintf_usec(sample->time, tstr, sizeof(tstr)); in timehist_print_wakeup_event()
2390 printf("%15s [%04d] ", tstr, sample->cpu); in timehist_print_wakeup_event()
2451 char tstr[64]; in timehist_print_migration_event() local
2471 timestamp__scnprintf_usec(sample->time, tstr, sizeof(tstr)); in timehist_print_migration_event()
2472 printf("%15s [%04d] ", tstr, sample->cpu); in timehist_print_migration_event()
2665 char tstr[64]; in process_lost() local
[all …]
H A Dbuiltin-script.c737 char tstr[128]; in perf_sample__fprintf_start() local
809 tod_scnprintf(script, tstr, sizeof(tstr), sample->time); in perf_sample__fprintf_start()
810 printed += fprintf(fp, "%s ", tstr); in perf_sample__fprintf_start()
/linux-5.15/tools/perf/ui/browsers/
H A Dhists.c2732 struct evsel *evsel, const char *tstr) in add_script_opt_2() argument
2737 thread__comm_str(thread), tstr) < 0) in add_script_opt_2()
2741 sym->name, tstr) < 0) in add_script_opt_2()
2744 if (asprintf(optstr, "Run scripts for all samples%s", tstr) < 0) in add_script_opt_2()
2768 char tstr[128]; in add_script_opt() local
2772 j = sprintf(tstr, " in "); in add_script_opt()
2773 j += timestamp__scnprintf_usec(he->time, tstr + j, in add_script_opt()
2774 sizeof tstr - j); in add_script_opt()
2775 j += sprintf(tstr + j, "-"); in add_script_opt()
2777 tstr + j, sizeof tstr - j); in add_script_opt()
[all …]
/linux-5.15/samples/bpf/
A Dxdp_sample_user.c1014 const char *fstr, *tstr; in stats_get_devmap_xmit_multi() local
1058 fstr = tstr = NULL; in stats_get_devmap_xmit_multi()
1062 tstr = ifname_to; in stats_get_devmap_xmit_multi()
1065 tstr ?: "?"); in stats_get_devmap_xmit_multi()
/linux-5.15/tools/perf/util/
H A Dheader.c1657 char tstr[64], date[64]; in print_clock_data() local
1683 snprintf(tstr, sizeof(tstr), "<error>"); in print_clock_data()
1686 scnprintf(tstr, sizeof(tstr), "%s.%06d", in print_clock_data()
1692 tstr, (long) tod_ns.tv_sec, (int) tod_ns.tv_usec, in print_clock_data()
/linux-5.15/tools/power/pm-graph/
A Dsleepgraph.py6116 tstr = dt.strftime('%Y/%m/%d %H:%M:%S')
6211 'time': tstr,