• Home
  • Raw
  • Download

Lines Matching refs:report

70 struct report {  struct
107 struct report *rep = cb; in report__config() argument
140 struct report *rep = arg; in hist_iter__report_callback()
183 struct report *rep = arg; in hist_iter__branch_callback()
206 static void setup_forced_leader(struct report *report, in setup_forced_leader() argument
209 if (report->group_set) in setup_forced_leader()
216 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event()
242 struct report *rep = container_of(tool, struct report, tool); in process_sample_event()
312 struct report *rep = container_of(tool, struct report, tool); in process_read_event()
330 static int report__setup_sample_type(struct report *rep) in report__setup_sample_type()
417 static size_t hists__fprintf_nr_sample_events(struct hists *hists, struct report *rep, in hists__fprintf_nr_sample_events()
484 struct report *rep, in perf_evlist__tty_browse_hists()
525 static void report__warn_kptr_restrict(const struct report *rep) in report__warn_kptr_restrict()
554 static int report__gtk_browse_hists(struct report *rep, const char *help) in report__gtk_browse_hists()
569 static int report__browse_hists(struct report *rep) in report__browse_hists()
607 static int report__collapse_hists(struct report *rep) in report__collapse_hists()
643 struct report *rep = arg; in hists__resort_cb()
656 static void report__output_resort(struct report *rep) in report__output_resort()
671 static void stats_setup(struct report *rep) in stats_setup()
677 static int stats_print(struct report *rep) in stats_print()
685 static void tasks_setup(struct report *rep) in tasks_setup()
771 static int tasks_print(struct report *rep, FILE *fp) in tasks_print()
838 static int __cmd_report(struct report *rep) in __cmd_report()
1019 struct report *rep = opt->value; in parse_percent_limit()
1045 struct report report = { in cmd_report() local
1080 OPT_BOOLEAN(0, "stats", &report.stats_mode, "Display event stats"), in cmd_report()
1081 OPT_BOOLEAN(0, "tasks", &report.tasks_mode, "Display recorded tasks"), in cmd_report()
1082 OPT_BOOLEAN(0, "mmaps", &report.mmaps_mode, "Display recorded tasks memory maps"), in cmd_report()
1094 OPT_BOOLEAN('T', "threads", &report.show_threads, in cmd_report()
1096 OPT_STRING(0, "pretty", &report.pretty_printing_style, "key", in cmd_report()
1098 OPT_BOOLEAN(0, "tui", &report.use_tui, "Use the TUI interface"), in cmd_report()
1099 OPT_BOOLEAN(0, "gtk", &report.use_gtk, "Use the GTK2 interface"), in cmd_report()
1100 OPT_BOOLEAN(0, "stdio", &report.use_stdio, in cmd_report()
1102 OPT_BOOLEAN(0, "header", &report.header, "Show data header."), in cmd_report()
1103 OPT_BOOLEAN(0, "header-only", &report.header_only, in cmd_report()
1123 OPT_INTEGER(0, "max-stack", &report.max_stack, in cmd_report()
1127 OPT_BOOLEAN('G', "inverted", &report.inverted_callchain, in cmd_report()
1142 OPT_STRING(0, "symbol-filter", &report.symbol_filter_str, "filter", in cmd_report()
1155 OPT_STRING('C', "cpu", &report.cpu_list, "cpu", in cmd_report()
1157 OPT_BOOLEAN('I', "show-info", &report.show_full_info, in cmd_report()
1159 OPT_BOOLEAN(0, "source", &report.annotation_opts.annotate_src, in cmd_report()
1161 OPT_BOOLEAN(0, "asm-raw", &report.annotation_opts.show_asm_raw, in cmd_report()
1163 …OPT_STRING('M', "disassembler-style", &report.annotation_opts.disassembler_style, "disassembler st… in cmd_report()
1167 OPT_BOOLEAN_SET(0, "group", &symbol_conf.event_group, &report.group_set, in cmd_report()
1174 OPT_STRING(0, "objdump", &report.annotation_opts.objdump_path, "path", in cmd_report()
1180 OPT_BOOLEAN(0, "mem-mode", &report.mem_mode, "mem access profile"), in cmd_report()
1183 OPT_CALLBACK(0, "percent-limit", &report, "percent", in cmd_report()
1194 OPT_INTEGER(0, "socket-filter", &report.socket_filter, in cmd_report()
1203 OPT_STRING(0, "time", &report.time_str, "str", in cmd_report()
1207 OPT_CALLBACK(0, "percent-type", &report.annotation_opts, "local-period", in cmd_report()
1214 OPTS_EVSWITCH(&report.evswitch), in cmd_report()
1226 ret = perf_config(report__config, &report); in cmd_report()
1239 report.symbol_filter_str = argv[0]; in cmd_report()
1242 if (report.mmaps_mode) in cmd_report()
1243 report.tasks_mode = true; in cmd_report()
1259 if (report.inverted_callchain) in cmd_report()
1265 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
1266 report.max_stack = itrace_synth_opts.callchain_sz; in cmd_report()
1279 session = perf_session__new(&data, false, &report.tool); in cmd_report()
1283 ret = evswitch__init(&report.evswitch, session->evlist, stderr); in cmd_report()
1290 if (report.queue_size) { in cmd_report()
1292 report.queue_size); in cmd_report()
1297 report.session = session; in cmd_report()
1304 setup_forced_leader(&report, session->evlist); in cmd_report()
1312 memset(&report.brtype_stat, 0, sizeof(struct branch_type_stat)); in cmd_report()
1333 if (report.mem_mode) { in cmd_report()
1356 if (report.use_stdio) in cmd_report()
1358 else if (report.use_tui) in cmd_report()
1360 else if (report.use_gtk) in cmd_report()
1364 if (report.header || report.header_only || report.show_threads) in cmd_report()
1366 if (report.header || report.header_only) in cmd_report()
1367 report.tool.show_feat_hdr = SHOW_FEAT_HEADER; in cmd_report()
1368 if (report.show_full_info) in cmd_report()
1369 report.tool.show_feat_hdr = SHOW_FEAT_HEADER_FULL_INFO; in cmd_report()
1370 if (report.stats_mode || report.tasks_mode) in cmd_report()
1372 if (report.stats_mode && report.tasks_mode) { in cmd_report()
1391 report.symbol_ipc = true; in cmd_report()
1410 if ((report.header || report.header_only) && !quiet) { in cmd_report()
1412 report.show_full_info); in cmd_report()
1413 if (report.header_only) { in cmd_report()
1418 !report.stats_mode && !report.tasks_mode) { in cmd_report()
1428 if (ui__has_annotation() || report.symbol_ipc) { in cmd_report()
1453 if (report.time_str) { in cmd_report()
1454 ret = perf_time__parse_for_ranges(report.time_str, session, in cmd_report()
1455 &report.ptime_range, in cmd_report()
1456 &report.range_size, in cmd_report()
1457 &report.range_num); in cmd_report()
1462 report.ptime_range, in cmd_report()
1463 report.range_num); in cmd_report()
1477 ret = __cmd_report(&report); in cmd_report()
1486 if (report.ptime_range) { in cmd_report()
1488 zfree(&report.ptime_range); in cmd_report()