Searched refs:perf_type (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/bpf/bpftool/ |
D | link.c | 453 const char *perf_type, *perf_config; in show_perf_event_event_json() local 455 perf_type = perf_event_name(perf_type_name, type); in show_perf_event_event_json() 456 if (perf_type) in show_perf_event_event_json() 457 jsonw_string_field(wtr, "event_type", perf_type); in show_perf_event_event_json() 845 const char *perf_type, *perf_config; in show_perf_event_event_plain() local 848 perf_type = perf_event_name(perf_type_name, type); in show_perf_event_event_plain() 849 if (perf_type) in show_perf_event_event_plain() 850 printf("%s:", perf_type); in show_perf_event_event_plain()
|
/linux-6.12.1/tools/power/x86/turbostat/ |
D | turbostat.c | 8556 unsigned int perf_type, perf_config; in added_perf_counters_init_() local 8607 perf_type = read_perf_type(pinfo->device); in added_perf_counters_init_() 8608 if (perf_type == (unsigned int)-1) { in added_perf_counters_init_() 8626 fd_perf = open_perf_counter(cpu, perf_type, perf_config, -1, 0); in added_perf_counters_init_()
|