Home
last modified time | relevance | path

Searched refs:evsel__name (Results 1 – 25 of 34) sorted by relevance

12

/tools/perf/tests/
Devsel-roundtrip-name.c53 if (strcmp(evsel__name(evsel), name)) { in perf_evsel__roundtrip_cache_name_test()
54 pr_debug("%s != %s\n", evsel__name(evsel), name); in perf_evsel__roundtrip_cache_name_test()
88 if (strcmp(evsel__name(evsel), names[evsel->core.idx / distance])) { in __perf_evsel__name_array_test()
90 pr_debug("%s != %s\n", evsel__name(evsel), names[evsel->core.idx / distance]); in __perf_evsel__name_array_test()
Devent_update.c112 tmp.name = evsel__name(evsel); in test__event_update()
Dmmap-basic.c153 evsel__name(evsel), nr_events[evsel->core.idx]); in test__basic_mmap()
Dparse-events.c376 !strcmp(evsel__name(evsel), "mem:0:u")); in test__checkevent_breakpoint_modifier()
390 !strcmp(evsel__name(evsel), "mem:0:x:k")); in test__checkevent_breakpoint_x_modifier()
404 !strcmp(evsel__name(evsel), "mem:0:r:hp")); in test__checkevent_breakpoint_r_modifier()
418 !strcmp(evsel__name(evsel), "mem:0:w:up")); in test__checkevent_breakpoint_w_modifier()
432 !strcmp(evsel__name(evsel), "mem:0:rw:kp")); in test__checkevent_breakpoint_rw_modifier()
503 TEST_ASSERT_VAL("wrong name", !strcmp(evsel__name(evsel), "krava")); in test__checkevent_pmu_name()
511 !strcmp(evsel__name(evsel), "cpu/config=2/u")); in test__checkevent_pmu_name()
/tools/perf/util/
Devsel_fprintf.c52 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf()
54 printed += fprintf(fp, ",%s", evsel__name(pos)); in evsel__fprintf()
61 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf()
Dtop.c80 ret += SNPRINTF(bf + ret, size - ret, "%s", evsel__name(top->sym_evsel)); in perf_top__header_snprintf()
Dstat-display.c253 snprintf(buf, 1024, "%s %s", evsel__name(evsel), in fixunit()
379 fprintf(output, "%-*s", config->csv_output ? 0 : 25, evsel__name(evsel)); in abs_printout()
481 config->csv_output ? 0 : -25, evsel__name(counter)); in printout()
588 if (!strcmp(evsel__name(alias), evsel__name(counter)) && in collect_all_aliases()
Dstat.c119 if (!strcmp(evsel__name(evsel), id_str[i])) { in perf_stat_evsel_id_init()
459 evsel__name(counter), count[0], count[1], count[2]); in perf_stat_process_counter()
Devsel.c730 const char *evsel__name(struct evsel *evsel) in evsel__name() function
806 ret += scnprintf(buf + ret, size - ret, "%s", evsel__name(evsel)); in evsel__group_desc()
809 ret += scnprintf(buf + ret, size - ret, ", %s", evsel__name(pos)); in evsel__group_desc()
2688 const char *name = evsel__name(evsel); in evsel__fallback()
2778 "No permission to enable %s event.\n\n", evsel__name(evsel)); in evsel__open_strerror()
2796 return scnprintf(msg, size, "The %s event is not supported.", evsel__name(evsel)); in evsel__open_strerror()
2820 evsel__name(evsel)); in evsel__open_strerror()
2824 evsel__name(evsel)); in evsel__open_strerror()
2864 err, str_error_r(err, sbuf, sizeof(sbuf)), evsel__name(evsel)); in evsel__open_strerror()
Dbpf_counter_cgroup.c270 idx, evsel__name(evsel), evsel->cgrp->name); in bperf_cgrp__read()
Devsel.h267 const char *evsel__name(struct evsel *evsel);
Ddlfilter.c519 d_sample.event = evsel__name(evsel); in dlfilter__do_filter_event()
Devlist.c2153 if (size > (strlen(evsel__name(evsel)) + (printed ? 2 : 1))) { in evlist__scnprintf_evsels()
2154 …printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "," : "", evsel__name(evsel)); in evlist__scnprintf_evsels()
Dheader.c532 ret = do_write_string(ff, evsel__name(evsel)); in write_event_desc()
2097 fprintf(fp, "# group: %s{%s", evsel->group_name ?: "", evsel__name(evsel)); in print_group_desc()
2101 fprintf(fp, ",%s", evsel__name(evsel)); in print_group_desc()
Dhist.c2684 ret += fprintf(fp, "%s stats:\n", evsel__name(pos)); in evlist__fprintf_nr_events()
2709 const char *ev_name = evsel__name(evsel); in __hists__scnprintf_title()
/tools/perf/
Dbuiltin-top.c260 printf("Showing %s for %s\n", evsel__name(top->sym_evsel), symbol->name); in perf_top__show_details()
446 …fprintf(stdout, "\t[E] active event counter. \t(%s)\n", evsel__name(top->sym_evse… in perf_top__print_mapped_keys()
533 fprintf(stderr, "\n\t%d %s", top->sym_evsel->core.idx, evsel__name(top->sym_evsel)); in perf_top__handle_keypress()
539 fprintf(stderr, "Sorry, no such event, using %s.\n", evsel__name(top->sym_evsel)); in perf_top__handle_keypress()
Dbuiltin-trace.c2110 id, evsel__name(evsel), ++n);
2251 evsel__name(evsel), ts,
2566 pr_err("Problem processing %s callchain, skipping...\n", evsel__name(evsel));
2848 pr_err("Problem processing %s callchain, skipping...\n", evsel__name(evsel));
2943 pr_err("Problem processing %s callchain, skipping...\n", evsel__name(evsel));
3085 if (!strstarts(evsel__name(evsel), "probe:vfs_getname"))
3156 evsel__name(evsel), sample->tid,
4198 evsel->filter, evsel__name(evsel), errno,
5077 bool raw_syscalls_sys_exit = strcmp(evsel__name(evsel), "raw_syscalls:sys_exit") == 0;
5085 strstr(evsel__name(evsel), "syscalls:sys_enter")) {
[all …]
Dbuiltin-stat.c397 evsel__name(counter), in read_counter_cpu()
722 evsel__name(counter)); in stat_handle_error()
871 pr_debug2("reopening weak %s\n", evsel__name(counter)); in __run_perf_stat()
908 counter->filter, evsel__name(counter), errno, in __run_perf_stat()
Dbuiltin-inject.c698 const char *name = evsel__name(evsel); in evsel__check_stype()
792 const char *name = evsel__name(evsel); in __cmd_inject()
Dbuiltin-script.c326 if (asprintf(&es->filename, "%s.%s.dump", data->file.path, evsel__name(evsel)) < 0) in evsel_script__new()
410 evname = evsel__name(evsel); in evsel__do_check_stype()
419 evname = evsel__name(evsel); in evsel__do_check_stype()
1840 int len = strlen(evsel__name(evsel)); in evlist__max_name_len()
2012 const char *evname = evsel__name(evsel); in process_event()
2135 evsel__name(counter)); in __process_stat()
3275 if (!strcmp(evsel__name(pos), evname)) { in check_ev_match()
Dbuiltin-report.c332 const char *name = evsel__name(evsel); in process_read_event()
548 const char *evname = evsel__name(pos); in evlist__tty_browse_hists()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c791 pydict_set_item_string_decref(dict, "ev_name", _PyUnicode_FromString(evsel__name(evsel))); in get_perf_sample_dict()
1055 tuple_set_string(t, 1, evsel__name(evsel)); in python_export_evsel()
1547 scnprintf(str, size, "stat__%s", evsel__name(evsel)); in get_handler_name()
/tools/perf/arch/arm/util/
Dcs-etm.c275 sink, evsel__name(evsel), errno, in cs_etm_set_sink_attr()
/tools/perf/ui/gtk/
Dhists.c636 const char *evname = evsel__name(pos); in evlist__gtk_browse_hists()
/tools/perf/ui/browsers/
Dhists.c3411 const char *ev_name = evsel__name(evsel); in perf_evsel_menu__write()
3576 const char *ev_name = evsel__name(pos); in __evlist__tui_browse_hists()
3640 const char *evname = evsel__name(browser->block_evsel); in block_hists_browser__title()

12