tool 988 drivers/hid/hid-multitouch.c int tool = MT_TOOL_FINGER; tool 1030 drivers/hid/hid-multitouch.c tool = MT_TOOL_DIAL; tool 1032 drivers/hid/hid-multitouch.c tool = MT_TOOL_PALM; tool 1050 drivers/hid/hid-multitouch.c input_mt_report_slot_state(input, tool, active); tool 96 drivers/hid/wacom_wac.c wacom->tool[0] = (data[5] & 0x20) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; tool 98 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], 1); tool 106 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], 0); tool 149 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_RUBBER; tool 153 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_PEN; tool 162 drivers/hid/wacom_wac.c if (wacom->tool[0] == BTN_TOOL_RUBBER && !(data[4] & 0x20)) { tool 166 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_PEN; tool 183 drivers/hid/wacom_wac.c input_report_key(input, BTN_STYLUS2, (wacom->tool[0] == BTN_TOOL_PEN) && (data[4] & 0x20)); tool 188 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], prox); tool 233 drivers/hid/wacom_wac.c wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; tool 234 drivers/hid/wacom_wac.c if (wacom->tool[0] == BTN_TOOL_PEN) tool 247 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], prox); tool 276 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_RUBBER; tool 281 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_PEN; tool 297 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], prox); tool 333 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_PEN; tool 338 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_RUBBER; tool 347 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_MOUSE; tool 354 drivers/hid/wacom_wac.c if (wacom->tool[0] != BTN_TOOL_MOUSE) { tool 395 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], prox); tool 628 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[1], prox ? 1 : 0); tool 745 drivers/hid/wacom_wac.c if (wacom->tool[idx] >= BTN_TOOL_MOUSE) { tool 762 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[idx], 0); tool 790 drivers/hid/wacom_wac.c wacom->tool[idx] = wacom_intuos_get_tool_type(wacom->id[idx]); tool 867 drivers/hid/wacom_wac.c (wacom->tool[idx] == BTN_TOOL_LENS && tool 967 drivers/hid/wacom_wac.c if (wacom->tool[idx] == BTN_TOOL_MOUSE) { tool 981 drivers/hid/wacom_wac.c else if (wacom->tool[idx] == BTN_TOOL_LENS) { tool 1004 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[idx], 1); tool 1293 drivers/hid/wacom_wac.c wacom->tool[0] = 0; tool 1300 drivers/hid/wacom_wac.c if (!wacom->tool[0]) { /* first in range */ tool 1303 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_RUBBER; tool 1305 drivers/hid/wacom_wac.c wacom->tool[0] = wacom_intuos_get_tool_type(wacom->id[0]); tool 1307 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_PEN; tool 1332 drivers/hid/wacom_wac.c if (wacom->tool[0]) { tool 1347 drivers/hid/wacom_wac.c input_report_key(pen_input, wacom->tool[0], prox); tool 1449 drivers/hid/wacom_wac.c input_report_key(pad_input, wacom->tool[1], prox ? 1 : 0); tool 1476 drivers/hid/wacom_wac.c input_report_key(pad_input, wacom->tool[1], buttons ? 1 : 0); tool 1714 drivers/hid/wacom_wac.c wacom->tool[0] = (data[1] & 0x0c) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; tool 1729 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], prox); tool 2419 drivers/hid/wacom_wac.c if (!wacom_wac->tool[0] && range) { /* first in range */ tool 2422 drivers/hid/wacom_wac.c wacom_wac->tool[0] = BTN_TOOL_RUBBER; tool 2424 drivers/hid/wacom_wac.c wacom_wac->tool[0] = wacom_intuos_get_tool_type(wacom_wac->id[0]); tool 2426 drivers/hid/wacom_wac.c wacom_wac->tool[0] = BTN_TOOL_PEN; tool 2432 drivers/hid/wacom_wac.c if (!delay_pen_events(wacom_wac) && wacom_wac->tool[0]) { tool 2455 drivers/hid/wacom_wac.c input_report_key(input, wacom_wac->tool[0], sense); tool 2467 drivers/hid/wacom_wac.c wacom_wac->tool[0] = 0; tool 2998 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_RUBBER; tool 3001 drivers/hid/wacom_wac.c wacom->tool[0] = BTN_TOOL_PEN; tool 3031 drivers/hid/wacom_wac.c input_report_key(input, wacom->tool[0], range); /* PEN or RUBBER */ tool 336 drivers/hid/wacom_wac.h int tool[2]; tool 173 drivers/input/tablet/wacom_serial4.c unsigned int tool; tool 312 drivers/input/tablet/wacom_serial4.c unsigned int tool; tool 333 drivers/input/tablet/wacom_serial4.c tool = (button & wacom->eraser_mask) ? ERASER : STYLUS; tool 335 drivers/input/tablet/wacom_serial4.c tool = CURSOR; tool 337 drivers/input/tablet/wacom_serial4.c if (tool != wacom->tool && wacom->tool != 0) { tool 338 drivers/input/tablet/wacom_serial4.c input_report_key(wacom->dev, tools[wacom->tool].input_id, 0); tool 341 drivers/input/tablet/wacom_serial4.c wacom->tool = tool; tool 343 drivers/input/tablet/wacom_serial4.c input_report_key(wacom->dev, tools[tool].input_id, in_proximity_p); tool 345 drivers/input/tablet/wacom_serial4.c in_proximity_p ? tools[tool].device_id : 0); tool 532 drivers/input/tablet/wacom_serial4.c wacom->tool = wacom->idx = 0; tool 858 drivers/input/touchscreen/atmel_mxt_ts.c int tool = 0; tool 878 drivers/input/touchscreen/atmel_mxt_ts.c tool = MT_TOOL_FINGER; tool 888 drivers/input/touchscreen/atmel_mxt_ts.c tool = MT_TOOL_FINGER; tool 903 drivers/input/touchscreen/atmel_mxt_ts.c tool = MT_TOOL_PEN; tool 939 drivers/input/touchscreen/atmel_mxt_ts.c input_mt_report_slot_state(input_dev, tool, 1); tool 130 drivers/input/touchscreen/surface3_spi.c int tool = (prox && rubber) ? BTN_TOOL_RUBBER : BTN_TOOL_PEN; tool 133 drivers/input/touchscreen/surface3_spi.c if (ts_data->pen_tool != tool) { tool 136 drivers/input/touchscreen/surface3_spi.c ts_data->pen_tool = tool; tool 38 drivers/input/touchscreen/wacom_i2c.c int tool; tool 112 drivers/input/touchscreen/wacom_i2c.c wac_i2c->tool = (data[3] & 0x0c) ? tool 118 drivers/input/touchscreen/wacom_i2c.c input_report_key(input, wac_i2c->tool, wac_i2c->prox); tool 15 tools/perf/arch/x86/util/event.c int perf_event__synthesize_extra_kmaps(struct perf_tool *tool, tool 67 tools/perf/arch/x86/util/event.c if (perf_tool__process_synth_event(tool, event, machine, tool 54 tools/perf/arch/x86/util/tsc.c struct perf_tool *tool, tool 83 tools/perf/arch/x86/util/tsc.c return process(tool, &event, NULL, machine); tool 46 tools/perf/builtin-annotate.c struct perf_tool tool; tool 261 tools/perf/builtin-annotate.c static int process_sample_event(struct perf_tool *tool, tool 267 tools/perf/builtin-annotate.c struct perf_annotate *ann = container_of(tool, struct perf_annotate, tool); tool 476 tools/perf/builtin-annotate.c .tool = { tool 587 tools/perf/builtin-annotate.c annotate.session = perf_session__new(&data, false, &annotate.tool); tool 83 tools/perf/builtin-c2c.c struct perf_tool tool; tool 256 tools/perf/builtin-c2c.c static int process_sample_event(struct perf_tool *tool __maybe_unused, tool 360 tools/perf/builtin-c2c.c .tool = { tool 2790 tools/perf/builtin-c2c.c session = perf_session__new(&data, 0, &c2c.tool); tool 37 tools/perf/builtin-diff.c struct perf_tool tool; tool 381 tools/perf/builtin-diff.c static int diff__process_sample_event(struct perf_tool *tool, tool 387 tools/perf/builtin-diff.c struct perf_diff *pdiff = container_of(tool, struct perf_diff, tool); tool 442 tools/perf/builtin-diff.c .tool = { tool 1156 tools/perf/builtin-diff.c d->session = perf_session__new(&d->data, false, &pdiff.tool); tool 1188 tools/perf/builtin-diff.c d->session = perf_session__new(&d->data, false, &pdiff.tool); tool 35 tools/perf/builtin-inject.c struct perf_tool tool; tool 68 tools/perf/builtin-inject.c static int perf_event__repipe_synth(struct perf_tool *tool, tool 71 tools/perf/builtin-inject.c struct perf_inject *inject = container_of(tool, struct perf_inject, tool 72 tools/perf/builtin-inject.c tool); tool 77 tools/perf/builtin-inject.c static int perf_event__repipe_oe_synth(struct perf_tool *tool, tool 81 tools/perf/builtin-inject.c return perf_event__repipe_synth(tool, event); tool 85 tools/perf/builtin-inject.c static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, tool 96 tools/perf/builtin-inject.c return perf_event__repipe_synth(session->tool, event); tool 99 tools/perf/builtin-inject.c static int perf_event__repipe_attr(struct perf_tool *tool, tool 103 tools/perf/builtin-inject.c struct perf_inject *inject = container_of(tool, struct perf_inject, tool 104 tools/perf/builtin-inject.c tool); tool 107 tools/perf/builtin-inject.c ret = perf_event__process_attr(tool, event, pevlist); tool 114 tools/perf/builtin-inject.c return perf_event__repipe_synth(tool, event); tool 141 tools/perf/builtin-inject.c struct perf_tool *tool = session->tool; tool 142 tools/perf/builtin-inject.c struct perf_inject *inject = container_of(tool, struct perf_inject, tool 143 tools/perf/builtin-inject.c tool); tool 188 tools/perf/builtin-inject.c static int perf_event__repipe(struct perf_tool *tool, tool 193 tools/perf/builtin-inject.c return perf_event__repipe_synth(tool, event); tool 196 tools/perf/builtin-inject.c static int perf_event__drop(struct perf_tool *tool __maybe_unused, tool 204 tools/perf/builtin-inject.c static int perf_event__drop_aux(struct perf_tool *tool, tool 209 tools/perf/builtin-inject.c struct perf_inject *inject = container_of(tool, struct perf_inject, tool); tool 217 tools/perf/builtin-inject.c typedef int (*inject_handler)(struct perf_tool *tool, tool 223 tools/perf/builtin-inject.c static int perf_event__repipe_sample(struct perf_tool *tool, tool 231 tools/perf/builtin-inject.c return f(tool, event, sample, evsel, machine); tool 234 tools/perf/builtin-inject.c build_id__mark_dso_hit(tool, event, sample, evsel, machine); tool 236 tools/perf/builtin-inject.c return perf_event__repipe_synth(tool, event); tool 239 tools/perf/builtin-inject.c static int perf_event__repipe_mmap(struct perf_tool *tool, tool 246 tools/perf/builtin-inject.c err = perf_event__process_mmap(tool, event, sample, machine); tool 247 tools/perf/builtin-inject.c perf_event__repipe(tool, event, sample, machine); tool 253 tools/perf/builtin-inject.c static int perf_event__jit_repipe_mmap(struct perf_tool *tool, tool 258 tools/perf/builtin-inject.c struct perf_inject *inject = container_of(tool, struct perf_inject, tool); tool 273 tools/perf/builtin-inject.c return perf_event__repipe_mmap(tool, event, sample, machine); tool 277 tools/perf/builtin-inject.c static int perf_event__repipe_mmap2(struct perf_tool *tool, tool 284 tools/perf/builtin-inject.c err = perf_event__process_mmap2(tool, event, sample, machine); tool 285 tools/perf/builtin-inject.c perf_event__repipe(tool, event, sample, machine); tool 291 tools/perf/builtin-inject.c static int perf_event__jit_repipe_mmap2(struct perf_tool *tool, tool 296 tools/perf/builtin-inject.c struct perf_inject *inject = container_of(tool, struct perf_inject, tool); tool 311 tools/perf/builtin-inject.c return perf_event__repipe_mmap2(tool, event, sample, machine); tool 315 tools/perf/builtin-inject.c static int perf_event__repipe_fork(struct perf_tool *tool, tool 322 tools/perf/builtin-inject.c err = perf_event__process_fork(tool, event, sample, machine); tool 323 tools/perf/builtin-inject.c perf_event__repipe(tool, event, sample, machine); tool 328 tools/perf/builtin-inject.c static int perf_event__repipe_comm(struct perf_tool *tool, tool 335 tools/perf/builtin-inject.c err = perf_event__process_comm(tool, event, sample, machine); tool 336 tools/perf/builtin-inject.c perf_event__repipe(tool, event, sample, machine); tool 341 tools/perf/builtin-inject.c static int perf_event__repipe_namespaces(struct perf_tool *tool, tool 346 tools/perf/builtin-inject.c int err = perf_event__process_namespaces(tool, event, sample, machine); tool 348 tools/perf/builtin-inject.c perf_event__repipe(tool, event, sample, machine); tool 353 tools/perf/builtin-inject.c static int perf_event__repipe_exit(struct perf_tool *tool, tool 360 tools/perf/builtin-inject.c err = perf_event__process_exit(tool, event, sample, machine); tool 361 tools/perf/builtin-inject.c perf_event__repipe(tool, event, sample, machine); tool 371 tools/perf/builtin-inject.c perf_event__repipe_synth(session->tool, event); tool 382 tools/perf/builtin-inject.c perf_event__repipe_synth(session->tool, event); tool 402 tools/perf/builtin-inject.c static int dso__inject_build_id(struct dso *dso, struct perf_tool *tool, tool 416 tools/perf/builtin-inject.c err = perf_event__synthesize_build_id(tool, dso, misc, perf_event__repipe, tool 426 tools/perf/builtin-inject.c static int perf_event__inject_buildid(struct perf_tool *tool, tool 446 tools/perf/builtin-inject.c dso__inject_build_id(al.map->dso, tool, machine); tool 463 tools/perf/builtin-inject.c perf_event__repipe(tool, event, sample, machine); tool 467 tools/perf/builtin-inject.c static int perf_inject__sched_process_exit(struct perf_tool *tool, tool 473 tools/perf/builtin-inject.c struct perf_inject *inject = container_of(tool, struct perf_inject, tool); tool 487 tools/perf/builtin-inject.c static int perf_inject__sched_switch(struct perf_tool *tool, tool 493 tools/perf/builtin-inject.c struct perf_inject *inject = container_of(tool, struct perf_inject, tool); tool 496 tools/perf/builtin-inject.c perf_inject__sched_process_exit(tool, event, sample, evsel, machine); tool 511 tools/perf/builtin-inject.c static int perf_inject__sched_stat(struct perf_tool *tool, tool 520 tools/perf/builtin-inject.c struct perf_inject *inject = container_of(tool, struct perf_inject, tool); tool 537 tools/perf/builtin-inject.c build_id__mark_dso_hit(tool, event_sw, &sample_sw, evsel, machine); tool 538 tools/perf/builtin-inject.c return perf_event__repipe(tool, event_sw, &sample_sw, machine); tool 561 tools/perf/builtin-inject.c static int drop_sample(struct perf_tool *tool __maybe_unused, tool 575 tools/perf/builtin-inject.c inject->tool.context_switch = perf_event__drop; tool 645 tools/perf/builtin-inject.c inject->tool.mmap = perf_event__repipe_mmap; tool 646 tools/perf/builtin-inject.c inject->tool.mmap2 = perf_event__repipe_mmap2; tool 647 tools/perf/builtin-inject.c inject->tool.fork = perf_event__repipe_fork; tool 648 tools/perf/builtin-inject.c inject->tool.tracing_data = perf_event__repipe_tracing_data; tool 654 tools/perf/builtin-inject.c inject->tool.sample = perf_event__inject_buildid; tool 674 tools/perf/builtin-inject.c inject->tool.comm = perf_event__repipe_comm; tool 675 tools/perf/builtin-inject.c inject->tool.namespaces = perf_event__repipe_namespaces; tool 676 tools/perf/builtin-inject.c inject->tool.exit = perf_event__repipe_exit; tool 677 tools/perf/builtin-inject.c inject->tool.id_index = perf_event__repipe_id_index; tool 678 tools/perf/builtin-inject.c inject->tool.auxtrace_info = perf_event__process_auxtrace_info; tool 679 tools/perf/builtin-inject.c inject->tool.auxtrace = perf_event__process_auxtrace; tool 680 tools/perf/builtin-inject.c inject->tool.aux = perf_event__drop_aux; tool 681 tools/perf/builtin-inject.c inject->tool.itrace_start = perf_event__drop_aux, tool 682 tools/perf/builtin-inject.c inject->tool.ordered_events = true; tool 683 tools/perf/builtin-inject.c inject->tool.ordering_requires_timestamps = true; tool 746 tools/perf/builtin-inject.c .tool = { tool 835 tools/perf/builtin-inject.c inject.tool.ordered_events = inject.sched_stat; tool 838 tools/perf/builtin-inject.c inject.session = perf_session__new(&data, true, &inject.tool); tool 852 tools/perf/builtin-inject.c inject.tool.ordered_events = true; tool 853 tools/perf/builtin-inject.c inject.tool.ordering_requires_timestamps = true; tool 857 tools/perf/builtin-inject.c inject.tool.mmap2 = perf_event__jit_repipe_mmap2; tool 858 tools/perf/builtin-inject.c inject.tool.mmap = perf_event__jit_repipe_mmap; tool 859 tools/perf/builtin-inject.c inject.tool.ordered_events = true; tool 860 tools/perf/builtin-inject.c inject.tool.ordering_requires_timestamps = true; tool 865 tools/perf/builtin-inject.c inject.tool.finished_round = perf_event__drop_oe; tool 941 tools/perf/builtin-kmem.c static int process_sample_event(struct perf_tool *tool __maybe_unused, tool 657 tools/perf/builtin-kvm.c static int process_lost_event(struct perf_tool *tool, tool 662 tools/perf/builtin-kvm.c struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, tool); tool 678 tools/perf/builtin-kvm.c static int process_sample_event(struct perf_tool *tool, tool 686 tools/perf/builtin-kvm.c struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, tool 687 tools/perf/builtin-kvm.c tool); tool 1095 tools/perf/builtin-kvm.c kvm->tool = eops; tool 1096 tools/perf/builtin-kvm.c kvm->session = perf_session__new(&file, false, &kvm->tool); tool 1386 tools/perf/builtin-kvm.c kvm->tool.sample = process_sample_event; tool 1387 tools/perf/builtin-kvm.c kvm->tool.comm = perf_event__process_comm; tool 1388 tools/perf/builtin-kvm.c kvm->tool.exit = perf_event__process_exit; tool 1389 tools/perf/builtin-kvm.c kvm->tool.fork = perf_event__process_fork; tool 1390 tools/perf/builtin-kvm.c kvm->tool.lost = process_lost_event; tool 1391 tools/perf/builtin-kvm.c kvm->tool.namespaces = perf_event__process_namespaces; tool 1392 tools/perf/builtin-kvm.c kvm->tool.ordered_events = true; tool 1393 tools/perf/builtin-kvm.c perf_tool__fill_defaults(&kvm->tool); tool 1451 tools/perf/builtin-kvm.c kvm->session = perf_session__new(&data, false, &kvm->tool); tool 813 tools/perf/builtin-lock.c static int process_sample_event(struct perf_tool *tool __maybe_unused, tool 26 tools/perf/builtin-mem.c struct perf_tool tool; tool 153 tools/perf/builtin-mem.c dump_raw_samples(struct perf_tool *tool, tool 158 tools/perf/builtin-mem.c struct perf_mem *mem = container_of(tool, struct perf_mem, tool); tool 233 tools/perf/builtin-mem.c static int process_sample_event(struct perf_tool *tool, tool 239 tools/perf/builtin-mem.c return dump_raw_samples(tool, event, sample, machine); tool 251 tools/perf/builtin-mem.c &mem->tool); tool 392 tools/perf/builtin-mem.c .tool = { tool 76 tools/perf/builtin-record.c struct perf_tool tool; tool 477 tools/perf/builtin-record.c static int process_synthesized_event(struct perf_tool *tool, tool 482 tools/perf/builtin-record.c struct record *rec = container_of(tool, struct record, tool); tool 530 tools/perf/builtin-record.c static int record__process_auxtrace(struct perf_tool *tool, tool 535 tools/perf/builtin-record.c struct record *rec = container_of(tool, struct record, tool); tool 573 tools/perf/builtin-record.c ret = auxtrace_mmap__read(map, rec->itr, &rec->tool, tool 589 tools/perf/builtin-record.c ret = auxtrace_mmap__read_snapshot(map, rec->itr, &rec->tool, tool 821 tools/perf/builtin-record.c static int process_sample_event(struct perf_tool *tool, tool 827 tools/perf/builtin-record.c struct record *rec = container_of(tool, struct record, tool); tool 838 tools/perf/builtin-record.c return build_id__mark_dso_hit(tool, event, sample, evsel, machine); tool 866 tools/perf/builtin-record.c rec->tool.sample = NULL; tool 874 tools/perf/builtin-record.c struct perf_tool *tool = data; tool 883 tools/perf/builtin-record.c err = perf_event__synthesize_modules(tool, process_synthesized_event, tool 893 tools/perf/builtin-record.c err = perf_event__synthesize_kernel_mmap(tool, process_synthesized_event, tool 1098 tools/perf/builtin-record.c err = perf_event__synthesize_thread_map(&rec->tool, thread_map, tool 1225 tools/perf/builtin-record.c struct perf_tool *tool = &rec->tool; tool 1237 tools/perf/builtin-record.c err = perf_event__synthesize_attrs(tool, rec->evlist, tool 1244 tools/perf/builtin-record.c err = perf_event__synthesize_features(tool, session, rec->evlist, tool 1260 tools/perf/builtin-record.c err = perf_event__synthesize_tracing_data(tool, fd, rec->evlist, tool 1270 tools/perf/builtin-record.c err = perf_event__synth_time_conv(record__pick_pc(rec), tool, tool 1276 tools/perf/builtin-record.c err = perf_event__synthesize_auxtrace_info(rec->itr, tool, tool 1283 tools/perf/builtin-record.c err = perf_event__synthesize_kernel_mmap(tool, process_synthesized_event, tool 1289 tools/perf/builtin-record.c err = perf_event__synthesize_modules(tool, process_synthesized_event, tool 1298 tools/perf/builtin-record.c perf_event__synthesize_guest_os, tool); tool 1301 tools/perf/builtin-record.c err = perf_event__synthesize_extra_attr(&rec->tool, tool 1308 tools/perf/builtin-record.c err = perf_event__synthesize_thread_map2(&rec->tool, rec->evlist->core.threads, tool 1316 tools/perf/builtin-record.c err = perf_event__synthesize_cpu_map(&rec->tool, rec->evlist->core.cpus, tool 1328 tools/perf/builtin-record.c err = __machine__synthesize_threads(machine, tool, &opts->target, rec->evlist->core.threads, tool 1341 tools/perf/builtin-record.c struct perf_tool *tool = &rec->tool; tool 1357 tools/perf/builtin-record.c tool->namespace_events = true; tool 1369 tools/perf/builtin-record.c session = perf_session__new(data, false, tool); tool 1431 tools/perf/builtin-record.c if (rec->tool.ordered_events && !perf_evlist__sample_id_all(rec->evlist)) { tool 1433 tools/perf/builtin-record.c rec->tool.ordered_events = false; tool 1508 tools/perf/builtin-record.c tgid = perf_event__synthesize_comm(tool, event, tool 1528 tools/perf/builtin-record.c perf_event__synthesize_namespaces(tool, event, tool 2084 tools/perf/builtin-record.c .tool = { tool 71 tools/perf/builtin-report.c struct perf_tool tool; tool 215 tools/perf/builtin-report.c struct report *rep = container_of(session->tool, struct report, tool); tool 235 tools/perf/builtin-report.c static int process_sample_event(struct perf_tool *tool, tool 241 tools/perf/builtin-report.c struct report *rep = container_of(tool, struct report, tool); tool 305 tools/perf/builtin-report.c static int process_read_event(struct perf_tool *tool, tool 311 tools/perf/builtin-report.c struct report *rep = container_of(tool, struct report, tool); tool 672 tools/perf/builtin-report.c memset(&rep->tool, 0, sizeof(rep->tool)); tool 673 tools/perf/builtin-report.c rep->tool.no_warn = true; tool 686 tools/perf/builtin-report.c memset(&rep->tool, 0, sizeof(rep->tool)); tool 687 tools/perf/builtin-report.c rep->tool.ordered_events = true; tool 689 tools/perf/builtin-report.c rep->tool.mmap = perf_event__process_mmap; tool 690 tools/perf/builtin-report.c rep->tool.mmap2 = perf_event__process_mmap2; tool 692 tools/perf/builtin-report.c rep->tool.comm = perf_event__process_comm; tool 693 tools/perf/builtin-report.c rep->tool.exit = perf_event__process_exit; tool 694 tools/perf/builtin-report.c rep->tool.fork = perf_event__process_fork; tool 695 tools/perf/builtin-report.c rep->tool.no_warn = true; tool 1045 tools/perf/builtin-report.c .tool = { tool 1278 tools/perf/builtin-report.c session = perf_session__new(&data, false, &report.tool); tool 1366 tools/perf/builtin-report.c report.tool.show_feat_hdr = SHOW_FEAT_HEADER; tool 1368 tools/perf/builtin-report.c report.tool.show_feat_hdr = SHOW_FEAT_HEADER_FULL_INFO; tool 177 tools/perf/builtin-sched.c struct perf_tool tool; tool 1478 tools/perf/builtin-sched.c static int process_sched_wakeup_event(struct perf_tool *tool, tool 1483 tools/perf/builtin-sched.c struct perf_sched *sched = container_of(tool, struct perf_sched, tool); tool 1663 tools/perf/builtin-sched.c static int process_sched_switch_event(struct perf_tool *tool, tool 1668 tools/perf/builtin-sched.c struct perf_sched *sched = container_of(tool, struct perf_sched, tool); tool 1689 tools/perf/builtin-sched.c static int process_sched_runtime_event(struct perf_tool *tool, tool 1694 tools/perf/builtin-sched.c struct perf_sched *sched = container_of(tool, struct perf_sched, tool); tool 1702 tools/perf/builtin-sched.c static int perf_sched__process_fork_event(struct perf_tool *tool, tool 1707 tools/perf/builtin-sched.c struct perf_sched *sched = container_of(tool, struct perf_sched, tool); tool 1710 tools/perf/builtin-sched.c perf_event__process_fork(tool, event, sample, machine); tool 1719 tools/perf/builtin-sched.c static int process_sched_migrate_task_event(struct perf_tool *tool, tool 1724 tools/perf/builtin-sched.c struct perf_sched *sched = container_of(tool, struct perf_sched, tool); tool 1732 tools/perf/builtin-sched.c typedef int (*tracepoint_handler)(struct perf_tool *tool, tool 1737 tools/perf/builtin-sched.c static int perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_unused, tool 1747 tools/perf/builtin-sched.c err = f(tool, evsel, sample, machine); tool 1753 tools/perf/builtin-sched.c static int perf_sched__process_comm(struct perf_tool *tool __maybe_unused, tool 1762 tools/perf/builtin-sched.c err = perf_event__process_comm(tool, event, sample, machine); tool 1801 tools/perf/builtin-sched.c session = perf_session__new(&data, false, &sched->tool); tool 2396 tools/perf/builtin-sched.c static int timehist_sched_wakeup_event(struct perf_tool *tool, tool 2402 tools/perf/builtin-sched.c struct perf_sched *sched = container_of(tool, struct perf_sched, tool); tool 2480 tools/perf/builtin-sched.c static int timehist_migrate_task_event(struct perf_tool *tool, tool 2486 tools/perf/builtin-sched.c struct perf_sched *sched = container_of(tool, struct perf_sched, tool); tool 2508 tools/perf/builtin-sched.c static int timehist_sched_change_event(struct perf_tool *tool, tool 2514 tools/perf/builtin-sched.c struct perf_sched *sched = container_of(tool, struct perf_sched, tool); tool 2634 tools/perf/builtin-sched.c static int timehist_sched_switch_event(struct perf_tool *tool, tool 2640 tools/perf/builtin-sched.c return timehist_sched_change_event(tool, event, evsel, sample, machine); tool 2643 tools/perf/builtin-sched.c static int process_lost(struct perf_tool *tool __maybe_unused, tool 2904 tools/perf/builtin-sched.c typedef int (*sched_handler)(struct perf_tool *tool, tool 2910 tools/perf/builtin-sched.c static int perf_timehist__process_sample(struct perf_tool *tool, tool 2916 tools/perf/builtin-sched.c struct perf_sched *sched = container_of(tool, struct perf_sched, tool); tool 2926 tools/perf/builtin-sched.c err = f(tool, event, evsel, sample, machine); tool 2978 tools/perf/builtin-sched.c sched->tool.sample = perf_timehist__process_sample; tool 2979 tools/perf/builtin-sched.c sched->tool.mmap = perf_event__process_mmap; tool 2980 tools/perf/builtin-sched.c sched->tool.comm = perf_event__process_comm; tool 2981 tools/perf/builtin-sched.c sched->tool.exit = perf_event__process_exit; tool 2982 tools/perf/builtin-sched.c sched->tool.fork = perf_event__process_fork; tool 2983 tools/perf/builtin-sched.c sched->tool.lost = process_lost; tool 2984 tools/perf/builtin-sched.c sched->tool.attr = perf_event__process_attr; tool 2985 tools/perf/builtin-sched.c sched->tool.tracing_data = perf_event__process_tracing_data; tool 2986 tools/perf/builtin-sched.c sched->tool.build_id = perf_event__process_build_id; tool 2988 tools/perf/builtin-sched.c sched->tool.ordered_events = true; tool 2989 tools/perf/builtin-sched.c sched->tool.ordering_requires_timestamps = true; tool 2993 tools/perf/builtin-sched.c session = perf_session__new(&data, false, &sched->tool); tool 3349 tools/perf/builtin-sched.c .tool = { tool 1633 tools/perf/builtin-script.c struct perf_tool tool; tool 1992 tools/perf/builtin-script.c static int process_sample_event(struct perf_tool *tool, tool 1998 tools/perf/builtin-script.c struct perf_script *scr = container_of(tool, struct perf_script, tool); tool 2039 tools/perf/builtin-script.c static int process_attr(struct perf_tool *tool, union perf_event *event, tool 2042 tools/perf/builtin-script.c struct perf_script *scr = container_of(tool, struct perf_script, tool); tool 2048 tools/perf/builtin-script.c err = perf_event__process_attr(tool, event, pevlist); tool 2085 tools/perf/builtin-script.c static int process_comm_event(struct perf_tool *tool, tool 2091 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 2102 tools/perf/builtin-script.c if (perf_event__process_comm(tool, event, sample, machine) < 0) tool 2122 tools/perf/builtin-script.c static int process_namespaces_event(struct perf_tool *tool, tool 2128 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 2140 tools/perf/builtin-script.c if (perf_event__process_namespaces(tool, event, sample, machine) < 0) tool 2160 tools/perf/builtin-script.c static int process_fork_event(struct perf_tool *tool, tool 2166 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 2170 tools/perf/builtin-script.c if (perf_event__process_fork(tool, event, sample, machine) < 0) tool 2194 tools/perf/builtin-script.c static int process_exit_event(struct perf_tool *tool, tool 2201 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 2223 tools/perf/builtin-script.c if (perf_event__process_exit(tool, event, sample, machine) < 0) tool 2230 tools/perf/builtin-script.c static int process_mmap_event(struct perf_tool *tool, tool 2236 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 2240 tools/perf/builtin-script.c if (perf_event__process_mmap(tool, event, sample, machine) < 0) tool 2264 tools/perf/builtin-script.c static int process_mmap2_event(struct perf_tool *tool, tool 2270 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 2274 tools/perf/builtin-script.c if (perf_event__process_mmap2(tool, event, sample, machine) < 0) tool 2298 tools/perf/builtin-script.c static int process_switch_event(struct perf_tool *tool, tool 2304 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 2308 tools/perf/builtin-script.c if (perf_event__process_switch(tool, event, sample, machine) < 0) tool 2334 tools/perf/builtin-script.c process_lost_event(struct perf_tool *tool, tool 2339 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 2359 tools/perf/builtin-script.c process_finished_round_event(struct perf_tool *tool __maybe_unused, tool 2369 tools/perf/builtin-script.c process_bpf_events(struct perf_tool *tool __maybe_unused, tool 2375 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 2487 tools/perf/builtin-script.c script->tool.comm = process_comm_event; tool 2488 tools/perf/builtin-script.c script->tool.fork = process_fork_event; tool 2489 tools/perf/builtin-script.c script->tool.exit = process_exit_event; tool 2492 tools/perf/builtin-script.c script->tool.mmap = process_mmap_event; tool 2493 tools/perf/builtin-script.c script->tool.mmap2 = process_mmap2_event; tool 2496 tools/perf/builtin-script.c script->tool.context_switch = process_switch_event; tool 2498 tools/perf/builtin-script.c script->tool.namespaces = process_namespaces_event; tool 2500 tools/perf/builtin-script.c script->tool.lost = process_lost_event; tool 2502 tools/perf/builtin-script.c script->tool.ordered_events = false; tool 2503 tools/perf/builtin-script.c script->tool.finished_round = process_finished_round_event; tool 2506 tools/perf/builtin-script.c script->tool.ksymbol = process_bpf_events; tool 2507 tools/perf/builtin-script.c script->tool.bpf = process_bpf_events; tool 3299 tools/perf/builtin-script.c struct perf_tool *tool = session->tool; tool 3300 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 3318 tools/perf/builtin-script.c struct perf_tool *tool = session->tool; tool 3319 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 3345 tools/perf/builtin-script.c struct perf_tool *tool = session->tool; tool 3350 tools/perf/builtin-script.c struct perf_script *script = container_of(tool, struct perf_script, tool); tool 3418 tools/perf/builtin-script.c .tool = { tool 3759 tools/perf/builtin-script.c session = perf_session__new(&data, false, &script.tool); tool 3764 tools/perf/builtin-script.c script.tool.show_feat_hdr = SHOW_FEAT_HEADER; tool 3770 tools/perf/builtin-script.c script.tool.show_feat_hdr = SHOW_FEAT_HEADER_FULL_INFO; tool 169 tools/perf/builtin-stat.c struct perf_tool tool; tool 214 tools/perf/builtin-stat.c static int process_synthesized_event(struct perf_tool *tool __maybe_unused, tool 1482 tools/perf/builtin-stat.c struct perf_tool *tool = session->tool; tool 1483 tools/perf/builtin-stat.c struct perf_stat *st = container_of(tool, struct perf_stat, tool); tool 1525 tools/perf/builtin-stat.c struct perf_tool *tool = session->tool; tool 1526 tools/perf/builtin-stat.c struct perf_stat *st = container_of(tool, struct perf_stat, tool); tool 1544 tools/perf/builtin-stat.c struct perf_tool *tool = session->tool; tool 1545 tools/perf/builtin-stat.c struct perf_stat *st = container_of(tool, struct perf_stat, tool); tool 1596 tools/perf/builtin-stat.c .tool = { tool 1638 tools/perf/builtin-stat.c session = perf_session__new(&perf_stat.data, false, &perf_stat.tool); tool 52 tools/perf/builtin-timechart.c struct perf_tool tool; tool 313 tools/perf/builtin-timechart.c static int process_comm_event(struct perf_tool *tool, tool 318 tools/perf/builtin-timechart.c struct timechart *tchart = container_of(tool, struct timechart, tool); tool 323 tools/perf/builtin-timechart.c static int process_fork_event(struct perf_tool *tool, tool 328 tools/perf/builtin-timechart.c struct timechart *tchart = container_of(tool, struct timechart, tool); tool 333 tools/perf/builtin-timechart.c static int process_exit_event(struct perf_tool *tool, tool 338 tools/perf/builtin-timechart.c struct timechart *tchart = container_of(tool, struct timechart, tool); tool 552 tools/perf/builtin-timechart.c static int process_sample_event(struct perf_tool *tool, tool 558 tools/perf/builtin-timechart.c struct timechart *tchart = container_of(tool, struct timechart, tool); tool 1602 tools/perf/builtin-timechart.c &tchart->tool); tool 1919 tools/perf/builtin-timechart.c .tool = { tool 731 tools/perf/builtin-top.c static void perf_event__process_sample(struct perf_tool *tool, tool 737 tools/perf/builtin-top.c struct perf_top *top = container_of(tool, struct perf_top, tool); tool 1190 tools/perf/builtin-top.c perf_event__process_sample(&top->tool, event, evsel, tool 1244 tools/perf/builtin-top.c top->tool.namespace_events = true; tool 90 tools/perf/builtin-trace.c struct perf_tool tool; tool 1376 tools/perf/builtin-trace.c static int trace__tool_process(struct perf_tool *tool, tool 1381 tools/perf/builtin-trace.c struct trace *trace = container_of(tool, struct trace, tool); tool 1418 tools/perf/builtin-trace.c err = __machine__synthesize_threads(trace->host, &trace->tool, &trace->opts.target, tool 2542 tools/perf/builtin-trace.c static int trace__process_sample(struct perf_tool *tool, tool 2548 tools/perf/builtin-trace.c struct trace *trace = container_of(tool, struct trace, tool); tool 3573 tools/perf/builtin-trace.c trace->tool.sample = trace__process_sample; tool 3574 tools/perf/builtin-trace.c trace->tool.mmap = perf_event__process_mmap; tool 3575 tools/perf/builtin-trace.c trace->tool.mmap2 = perf_event__process_mmap2; tool 3576 tools/perf/builtin-trace.c trace->tool.comm = perf_event__process_comm; tool 3577 tools/perf/builtin-trace.c trace->tool.exit = perf_event__process_exit; tool 3578 tools/perf/builtin-trace.c trace->tool.fork = perf_event__process_fork; tool 3579 tools/perf/builtin-trace.c trace->tool.attr = perf_event__process_attr; tool 3580 tools/perf/builtin-trace.c trace->tool.tracing_data = perf_event__process_tracing_data; tool 3581 tools/perf/builtin-trace.c trace->tool.build_id = perf_event__process_build_id; tool 3582 tools/perf/builtin-trace.c trace->tool.namespaces = perf_event__process_namespaces; tool 3584 tools/perf/builtin-trace.c trace->tool.ordered_events = true; tool 3585 tools/perf/builtin-trace.c trace->tool.ordering_requires_timestamps = true; tool 3590 tools/perf/builtin-trace.c session = perf_session__new(&data, false, &trace->tool); tool 14 tools/perf/tests/cpumap.c static int process_event_mask(struct perf_tool *tool __maybe_unused, tool 48 tools/perf/tests/cpumap.c static int process_event_cpus(struct perf_tool *tool __maybe_unused, tool 27 tools/perf/tests/dwarf-unwind.c static int mmap_handler(struct perf_tool *tool __maybe_unused, tool 15 tools/perf/tests/event_update.c static int process_event_unit(struct perf_tool *tool __maybe_unused, tool 28 tools/perf/tests/event_update.c static int process_event_scale(struct perf_tool *tool __maybe_unused, tool 45 tools/perf/tests/event_update.c struct perf_tool tool; tool 49 tools/perf/tests/event_update.c static int process_event_name(struct perf_tool *tool, tool 54 tools/perf/tests/event_update.c struct event_name *tmp = container_of(tool, struct event_name, tool); tool 63 tools/perf/tests/event_update.c static int process_event_cpus(struct perf_tool *tool __maybe_unused, tool 115 tools/perf/tests/event_update.c !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); tool 120 tools/perf/tests/event_update.c !perf_event__synthesize_event_update_cpus(&tmp.tool, evsel, process_event_cpus)); tool 24 tools/perf/tests/stat.c static int process_stat_config_event(struct perf_tool *tool __maybe_unused, tool 64 tools/perf/tests/stat.c static int process_stat_event(struct perf_tool *tool __maybe_unused, tool 94 tools/perf/tests/stat.c static int process_stat_round_event(struct perf_tool *tool __maybe_unused, tool 62 tools/perf/tests/thread-map.c static int process_event(struct perf_tool *tool __maybe_unused, tool 98 tools/perf/util/arm-spe.c struct perf_tool *tool __maybe_unused) tool 105 tools/perf/util/arm-spe.c struct perf_tool *tool __maybe_unused) tool 140 tools/perf/util/arm-spe.c struct perf_tool *tool __maybe_unused) tool 889 tools/perf/util/auxtrace.c struct perf_tool *tool, tool 911 tools/perf/util/auxtrace.c err = process(tool, ev, NULL, NULL); tool 959 tools/perf/util/auxtrace.c err = session->auxtrace->process_auxtrace_event(session, event, session->tool); tool 1233 tools/perf/util/auxtrace.c struct perf_tool *tool, process_auxtrace_t fn, tool 1323 tools/perf/util/auxtrace.c if (fn(tool, map, &ev, data1, len1, data2, len2)) tool 1343 tools/perf/util/auxtrace.c struct perf_tool *tool, process_auxtrace_t fn) tool 1345 tools/perf/util/auxtrace.c return __auxtrace_mmap__read(map, itr, tool, fn, false, 0); tool 1350 tools/perf/util/auxtrace.c struct perf_tool *tool, process_auxtrace_t fn, tool 1353 tools/perf/util/auxtrace.c return __auxtrace_mmap__read(map, itr, tool, fn, true, snapshot_size); tool 2203 tools/perf/util/auxtrace.c struct perf_sample *sample, struct perf_tool *tool) tool 2208 tools/perf/util/auxtrace.c return session->auxtrace->process_event(session, event, sample, tool); tool 2211 tools/perf/util/auxtrace.c int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool) tool 2216 tools/perf/util/auxtrace.c return session->auxtrace->flush_events(session, tool); tool 152 tools/perf/util/auxtrace.h struct perf_tool *tool); tool 155 tools/perf/util/auxtrace.h struct perf_tool *tool); tool 157 tools/perf/util/auxtrace.h struct perf_tool *tool); tool 447 tools/perf/util/auxtrace.h typedef int (*process_auxtrace_t)(struct perf_tool *tool, tool 453 tools/perf/util/auxtrace.h struct perf_tool *tool, process_auxtrace_t fn); tool 457 tools/perf/util/auxtrace.h struct perf_tool *tool, process_auxtrace_t fn, tool 551 tools/perf/util/auxtrace.h struct perf_sample *sample, struct perf_tool *tool); tool 552 tools/perf/util/auxtrace.h int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool); tool 654 tools/perf/util/auxtrace.h struct perf_tool *tool __maybe_unused) tool 661 tools/perf/util/auxtrace.h struct perf_tool *tool __maybe_unused) tool 167 tools/perf/util/bpf-event.c struct perf_tool *tool = session->tool; tool 251 tools/perf/util/bpf-event.c err = perf_tool__process_synth_event(tool, event, tool 285 tools/perf/util/bpf-event.c err = perf_tool__process_synth_event(tool, event, tool 39 tools/perf/util/build-id.c int build_id__mark_dso_hit(struct perf_tool *tool __maybe_unused, tool 62 tools/perf/util/build-id.c static int perf_event__exit_del_thread(struct perf_tool *tool __maybe_unused, tool 26 tools/perf/util/build-id.h int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event, tool 505 tools/perf/util/cs-etm.c struct perf_tool *tool) tool 514 tools/perf/util/cs-etm.c if (!tool->ordered_events) tool 1235 tools/perf/util/cs-etm.c static int cs_etm__event_synth(struct perf_tool *tool, tool 1241 tools/perf/util/cs-etm.c container_of(tool, struct cs_etm_synth, dummy_tool); tool 2251 tools/perf/util/cs-etm.c struct perf_tool *tool) tool 2262 tools/perf/util/cs-etm.c if (!tool->ordered_events) { tool 2297 tools/perf/util/cs-etm.c struct perf_tool *tool __maybe_unused) tool 84 tools/perf/util/data-convert-bt.c struct perf_tool tool; tool 786 tools/perf/util/data-convert-bt.c static int process_sample_event(struct perf_tool *tool, tool 792 tools/perf/util/data-convert-bt.c struct convert *c = container_of(tool, struct convert, tool); tool 865 tools/perf/util/data-convert-bt.c static int process_##_name##_event(struct perf_tool *tool, \ tool 870 tools/perf/util/data-convert-bt.c struct convert *c = container_of(tool, struct convert, tool);\ tool 897 tools/perf/util/data-convert-bt.c return perf_event__process_##_name(tool, _event, sample, machine);\ tool 1586 tools/perf/util/data-convert-bt.c .tool = { tool 1605 tools/perf/util/data-convert-bt.c c.tool.comm = process_comm_event; tool 1606 tools/perf/util/data-convert-bt.c c.tool.exit = process_exit_event; tool 1607 tools/perf/util/data-convert-bt.c c.tool.fork = process_fork_event; tool 1608 tools/perf/util/data-convert-bt.c c.tool.mmap = process_mmap_event; tool 1609 tools/perf/util/data-convert-bt.c c.tool.mmap2 = process_mmap2_event; tool 1622 tools/perf/util/data-convert-bt.c session = perf_session__new(&data, 0, &c.tool); tool 183 tools/perf/util/event.c int perf_event__process_comm(struct perf_tool *tool __maybe_unused, tool 191 tools/perf/util/event.c int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused, tool 199 tools/perf/util/event.c int perf_event__process_lost(struct perf_tool *tool __maybe_unused, tool 207 tools/perf/util/event.c int perf_event__process_aux(struct perf_tool *tool __maybe_unused, tool 215 tools/perf/util/event.c int perf_event__process_itrace_start(struct perf_tool *tool __maybe_unused, tool 223 tools/perf/util/event.c int perf_event__process_lost_samples(struct perf_tool *tool __maybe_unused, tool 231 tools/perf/util/event.c int perf_event__process_switch(struct perf_tool *tool __maybe_unused, tool 239 tools/perf/util/event.c int perf_event__process_ksymbol(struct perf_tool *tool __maybe_unused, tool 247 tools/perf/util/event.c int perf_event__process_bpf(struct perf_tool *tool __maybe_unused, tool 311 tools/perf/util/event.c int perf_event__process_mmap(struct perf_tool *tool __maybe_unused, tool 319 tools/perf/util/event.c int perf_event__process_mmap2(struct perf_tool *tool __maybe_unused, tool 334 tools/perf/util/event.c int perf_event__process_fork(struct perf_tool *tool __maybe_unused, tool 342 tools/perf/util/event.c int perf_event__process_exit(struct perf_tool *tool __maybe_unused, tool 449 tools/perf/util/event.c int perf_event__process(struct perf_tool *tool __maybe_unused, tool 290 tools/perf/util/event.h int perf_event__process_comm(struct perf_tool *tool, tool 294 tools/perf/util/event.h int perf_event__process_lost(struct perf_tool *tool, tool 298 tools/perf/util/event.h int perf_event__process_lost_samples(struct perf_tool *tool, tool 302 tools/perf/util/event.h int perf_event__process_aux(struct perf_tool *tool, tool 306 tools/perf/util/event.h int perf_event__process_itrace_start(struct perf_tool *tool, tool 310 tools/perf/util/event.h int perf_event__process_switch(struct perf_tool *tool, tool 314 tools/perf/util/event.h int perf_event__process_namespaces(struct perf_tool *tool, tool 318 tools/perf/util/event.h int perf_event__process_mmap(struct perf_tool *tool, tool 322 tools/perf/util/event.h int perf_event__process_mmap2(struct perf_tool *tool, tool 326 tools/perf/util/event.h int perf_event__process_fork(struct perf_tool *tool, tool 330 tools/perf/util/event.h int perf_event__process_exit(struct perf_tool *tool, tool 334 tools/perf/util/event.h int perf_event__process_ksymbol(struct perf_tool *tool, tool 338 tools/perf/util/event.h int perf_event__process_bpf(struct perf_tool *tool, tool 342 tools/perf/util/event.h int perf_event__process(struct perf_tool *tool, tool 3641 tools/perf/util/header.c struct perf_tool *tool = session->tool; tool 3666 tools/perf/util/header.c if (!feat_ops[feat].print || !tool->show_feat_hdr) tool 3670 tools/perf/util/header.c tool->show_feat_hdr >= SHOW_FEAT_HEADER_FULL_INFO) { tool 3719 tools/perf/util/header.c int perf_event__process_attr(struct perf_tool *tool __maybe_unused, tool 3757 tools/perf/util/header.c int perf_event__process_event_update(struct perf_tool *tool __maybe_unused, tool 140 tools/perf/util/header.h int perf_event__process_attr(struct perf_tool *tool, union perf_event *event, tool 142 tools/perf/util/header.h int perf_event__process_event_update(struct perf_tool *tool, tool 594 tools/perf/util/intel-bts.c struct perf_tool *tool) tool 604 tools/perf/util/intel-bts.c if (!tool->ordered_events) { tool 637 tools/perf/util/intel-bts.c struct perf_tool *tool __maybe_unused) tool 678 tools/perf/util/intel-bts.c struct perf_tool *tool __maybe_unused) tool 687 tools/perf/util/intel-bts.c if (!tool->ordered_events) tool 736 tools/perf/util/intel-bts.c static int intel_bts_event_synth(struct perf_tool *tool, tool 742 tools/perf/util/intel-bts.c container_of(tool, struct intel_bts_synth, dummy_tool); tool 2526 tools/perf/util/intel-pt.c struct perf_tool *tool) tool 2536 tools/perf/util/intel-pt.c if (!tool->ordered_events) { tool 2587 tools/perf/util/intel-pt.c static int intel_pt_flush(struct perf_session *session, struct perf_tool *tool) tool 2596 tools/perf/util/intel-pt.c if (!tool->ordered_events) tool 2642 tools/perf/util/intel-pt.c struct perf_tool *tool __maybe_unused) tool 2684 tools/perf/util/intel-pt.c static int intel_pt_event_synth(struct perf_tool *tool, tool 2690 tools/perf/util/intel-pt.c container_of(tool, struct intel_pt_synth, dummy_tool); tool 64 tools/perf/util/jitdump.c struct perf_tool tool; tool 71 tools/perf/util/jitdump.c #define get_jit_tool(t) (container_of(tool, struct jit_tool, tool)) tool 390 tools/perf/util/jitdump.c struct perf_tool *tool = jd->session->tool; tool 488 tools/perf/util/jitdump.c ret = perf_event__process_mmap2(tool, event, &sample, jd->machine); tool 497 tools/perf/util/jitdump.c build_id__mark_dso_hit(tool, event, &sample, NULL, jd->machine); tool 506 tools/perf/util/jitdump.c struct perf_tool *tool = jd->session->tool; tool 580 tools/perf/util/jitdump.c ret = perf_event__process_mmap2(tool, event, &sample, jd->machine); tool 586 tools/perf/util/jitdump.c build_id__mark_dso_hit(tool, event, &sample, NULL, jd->machine); tool 77 tools/perf/util/kvm-stat.h struct perf_tool tool; tool 914 tools/perf/util/s390-cpumsf.c struct perf_tool *tool) tool 927 tools/perf/util/s390-cpumsf.c if (!tool->ordered_events) { tool 962 tools/perf/util/s390-cpumsf.c struct perf_tool *tool __maybe_unused) tool 1005 tools/perf/util/s390-cpumsf.c struct perf_tool *tool __maybe_unused) tool 101 tools/perf/util/session.c struct perf_tool *tool, tool 184 tools/perf/util/session.c session->tool, event->file_offset); tool 188 tools/perf/util/session.c bool repipe, struct perf_tool *tool) tool 197 tools/perf/util/session.c session->tool = tool; tool 254 tools/perf/util/session.c if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && tool 255 tools/perf/util/session.c tool->ordered_events && !perf_evlist__sample_id_all(session->evlist)) { tool 257 tools/perf/util/session.c tool->ordered_events = false; tool 313 tools/perf/util/session.c static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, tool 322 tools/perf/util/session.c static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, tool 334 tools/perf/util/session.c static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, tool 344 tools/perf/util/session.c static int process_event_stub(struct perf_tool *tool __maybe_unused, tool 353 tools/perf/util/session.c static int process_finished_round_stub(struct perf_tool *tool __maybe_unused, tool 361 tools/perf/util/session.c static int process_finished_round(struct perf_tool *tool, tool 458 tools/perf/util/session.c void perf_tool__fill_defaults(struct perf_tool *tool) tool 460 tools/perf/util/session.c if (tool->sample == NULL) tool 461 tools/perf/util/session.c tool->sample = process_event_sample_stub; tool 462 tools/perf/util/session.c if (tool->mmap == NULL) tool 463 tools/perf/util/session.c tool->mmap = process_event_stub; tool 464 tools/perf/util/session.c if (tool->mmap2 == NULL) tool 465 tools/perf/util/session.c tool->mmap2 = process_event_stub; tool 466 tools/perf/util/session.c if (tool->comm == NULL) tool 467 tools/perf/util/session.c tool->comm = process_event_stub; tool 468 tools/perf/util/session.c if (tool->namespaces == NULL) tool 469 tools/perf/util/session.c tool->namespaces = process_event_stub; tool 470 tools/perf/util/session.c if (tool->fork == NULL) tool 471 tools/perf/util/session.c tool->fork = process_event_stub; tool 472 tools/perf/util/session.c if (tool->exit == NULL) tool 473 tools/perf/util/session.c tool->exit = process_event_stub; tool 474 tools/perf/util/session.c if (tool->lost == NULL) tool 475 tools/perf/util/session.c tool->lost = perf_event__process_lost; tool 476 tools/perf/util/session.c if (tool->lost_samples == NULL) tool 477 tools/perf/util/session.c tool->lost_samples = perf_event__process_lost_samples; tool 478 tools/perf/util/session.c if (tool->aux == NULL) tool 479 tools/perf/util/session.c tool->aux = perf_event__process_aux; tool 480 tools/perf/util/session.c if (tool->itrace_start == NULL) tool 481 tools/perf/util/session.c tool->itrace_start = perf_event__process_itrace_start; tool 482 tools/perf/util/session.c if (tool->context_switch == NULL) tool 483 tools/perf/util/session.c tool->context_switch = perf_event__process_switch; tool 484 tools/perf/util/session.c if (tool->ksymbol == NULL) tool 485 tools/perf/util/session.c tool->ksymbol = perf_event__process_ksymbol; tool 486 tools/perf/util/session.c if (tool->bpf == NULL) tool 487 tools/perf/util/session.c tool->bpf = perf_event__process_bpf; tool 488 tools/perf/util/session.c if (tool->read == NULL) tool 489 tools/perf/util/session.c tool->read = process_event_sample_stub; tool 490 tools/perf/util/session.c if (tool->throttle == NULL) tool 491 tools/perf/util/session.c tool->throttle = process_event_stub; tool 492 tools/perf/util/session.c if (tool->unthrottle == NULL) tool 493 tools/perf/util/session.c tool->unthrottle = process_event_stub; tool 494 tools/perf/util/session.c if (tool->attr == NULL) tool 495 tools/perf/util/session.c tool->attr = process_event_synth_attr_stub; tool 496 tools/perf/util/session.c if (tool->event_update == NULL) tool 497 tools/perf/util/session.c tool->event_update = process_event_synth_event_update_stub; tool 498 tools/perf/util/session.c if (tool->tracing_data == NULL) tool 499 tools/perf/util/session.c tool->tracing_data = process_event_synth_tracing_data_stub; tool 500 tools/perf/util/session.c if (tool->build_id == NULL) tool 501 tools/perf/util/session.c tool->build_id = process_event_op2_stub; tool 502 tools/perf/util/session.c if (tool->finished_round == NULL) { tool 503 tools/perf/util/session.c if (tool->ordered_events) tool 504 tools/perf/util/session.c tool->finished_round = process_finished_round; tool 506 tools/perf/util/session.c tool->finished_round = process_finished_round_stub; tool 508 tools/perf/util/session.c if (tool->id_index == NULL) tool 509 tools/perf/util/session.c tool->id_index = process_event_op2_stub; tool 510 tools/perf/util/session.c if (tool->auxtrace_info == NULL) tool 511 tools/perf/util/session.c tool->auxtrace_info = process_event_op2_stub; tool 512 tools/perf/util/session.c if (tool->auxtrace == NULL) tool 513 tools/perf/util/session.c tool->auxtrace = process_event_auxtrace_stub; tool 514 tools/perf/util/session.c if (tool->auxtrace_error == NULL) tool 515 tools/perf/util/session.c tool->auxtrace_error = process_event_op2_stub; tool 516 tools/perf/util/session.c if (tool->thread_map == NULL) tool 517 tools/perf/util/session.c tool->thread_map = process_event_thread_map_stub; tool 518 tools/perf/util/session.c if (tool->cpu_map == NULL) tool 519 tools/perf/util/session.c tool->cpu_map = process_event_cpu_map_stub; tool 520 tools/perf/util/session.c if (tool->stat_config == NULL) tool 521 tools/perf/util/session.c tool->stat_config = process_event_stat_config_stub; tool 522 tools/perf/util/session.c if (tool->stat == NULL) tool 523 tools/perf/util/session.c tool->stat = process_stat_stub; tool 524 tools/perf/util/session.c if (tool->stat_round == NULL) tool 525 tools/perf/util/session.c tool->stat_round = process_stat_round_stub; tool 526 tools/perf/util/session.c if (tool->time_conv == NULL) tool 527 tools/perf/util/session.c tool->time_conv = process_event_op2_stub; tool 528 tools/perf/util/session.c if (tool->feature == NULL) tool 529 tools/perf/util/session.c tool->feature = process_event_op2_stub; tool 530 tools/perf/util/session.c if (tool->compressed == NULL) tool 531 tools/perf/util/session.c tool->compressed = perf_session__process_compressed_event; tool 986 tools/perf/util/session.c static int process_finished_round(struct perf_tool *tool __maybe_unused, tool 1319 tools/perf/util/session.c struct perf_tool *tool, tool 1347 tools/perf/util/session.c return tool->sample(tool, event, sample, evsel, machine); tool 1351 tools/perf/util/session.c struct perf_tool *tool, tool 1360 tools/perf/util/session.c ret = deliver_sample_value(evlist, tool, event, sample, tool 1372 tools/perf/util/session.c struct perf_tool *tool, tool 1384 tools/perf/util/session.c return tool->sample(tool, event, sample, evsel, machine); tool 1388 tools/perf/util/session.c return deliver_sample_group(evlist, tool, event, sample, tool 1391 tools/perf/util/session.c return deliver_sample_value(evlist, tool, event, sample, tool 1399 tools/perf/util/session.c struct perf_tool *tool, u64 file_offset) tool 1421 tools/perf/util/session.c return perf_evlist__deliver_sample(evlist, tool, event, sample, evsel, machine); tool 1423 tools/perf/util/session.c return tool->mmap(tool, event, sample, machine); tool 1427 tools/perf/util/session.c return tool->mmap2(tool, event, sample, machine); tool 1429 tools/perf/util/session.c return tool->comm(tool, event, sample, machine); tool 1431 tools/perf/util/session.c return tool->namespaces(tool, event, sample, machine); tool 1433 tools/perf/util/session.c return tool->fork(tool, event, sample, machine); tool 1435 tools/perf/util/session.c return tool->exit(tool, event, sample, machine); tool 1437 tools/perf/util/session.c if (tool->lost == perf_event__process_lost) tool 1439 tools/perf/util/session.c return tool->lost(tool, event, sample, machine); tool 1441 tools/perf/util/session.c if (tool->lost_samples == perf_event__process_lost_samples) tool 1443 tools/perf/util/session.c return tool->lost_samples(tool, event, sample, machine); tool 1446 tools/perf/util/session.c return tool->read(tool, event, sample, evsel, machine); tool 1448 tools/perf/util/session.c return tool->throttle(tool, event, sample, machine); tool 1450 tools/perf/util/session.c return tool->unthrottle(tool, event, sample, machine); tool 1452 tools/perf/util/session.c if (tool->aux == perf_event__process_aux) { tool 1458 tools/perf/util/session.c return tool->aux(tool, event, sample, machine); tool 1460 tools/perf/util/session.c return tool->itrace_start(tool, event, sample, machine); tool 1463 tools/perf/util/session.c return tool->context_switch(tool, event, sample, machine); tool 1465 tools/perf/util/session.c return tool->ksymbol(tool, event, sample, machine); tool 1467 tools/perf/util/session.c return tool->bpf(tool, event, sample, machine); tool 1476 tools/perf/util/session.c struct perf_tool *tool, tool 1488 tools/perf/util/session.c ret = auxtrace__process_event(session, event, &sample, tool); tool 1495 tools/perf/util/session.c event, &sample, tool, file_offset); tool 1503 tools/perf/util/session.c struct perf_tool *tool = session->tool; tool 1509 tools/perf/util/session.c tool->compressed == perf_session__process_compressed_event_stub) tool 1515 tools/perf/util/session.c err = tool->attr(tool, event, &session->evlist); tool 1522 tools/perf/util/session.c return tool->event_update(tool, event, &session->evlist); tool 1532 tools/perf/util/session.c return tool->tracing_data(session, event); tool 1534 tools/perf/util/session.c return tool->build_id(session, event); tool 1536 tools/perf/util/session.c return tool->finished_round(tool, event, oe); tool 1538 tools/perf/util/session.c return tool->id_index(session, event); tool 1540 tools/perf/util/session.c return tool->auxtrace_info(session, event); tool 1544 tools/perf/util/session.c return tool->auxtrace(session, event); tool 1547 tools/perf/util/session.c return tool->auxtrace_error(session, event); tool 1549 tools/perf/util/session.c return tool->thread_map(session, event); tool 1551 tools/perf/util/session.c return tool->cpu_map(session, event); tool 1553 tools/perf/util/session.c return tool->stat_config(session, event); tool 1555 tools/perf/util/session.c return tool->stat(session, event); tool 1557 tools/perf/util/session.c return tool->stat_round(session, event); tool 1560 tools/perf/util/session.c return tool->time_conv(session, event); tool 1562 tools/perf/util/session.c return tool->feature(session, event); tool 1564 tools/perf/util/session.c err = tool->compressed(session, event, file_offset); tool 1578 tools/perf/util/session.c struct perf_tool *tool = session->tool; tool 1585 tools/perf/util/session.c return machines__deliver_event(&session->machines, evlist, event, sample, tool, 0); tool 1656 tools/perf/util/session.c struct perf_tool *tool = session->tool; tool 1670 tools/perf/util/session.c if (tool->ordered_events) { tool 1682 tools/perf/util/session.c return perf_session__deliver_event(session, event, tool, file_offset); tool 1747 tools/perf/util/session.c if (session->tool->lost == perf_event__process_lost && tool 1755 tools/perf/util/session.c if (session->tool->lost_samples == perf_event__process_lost_samples) { tool 1767 tools/perf/util/session.c if (session->tool->aux == perf_event__process_aux && tool 1774 tools/perf/util/session.c if (session->tool->aux == perf_event__process_aux && tool 1855 tools/perf/util/session.c struct perf_tool *tool = session->tool; tool 1865 tools/perf/util/session.c perf_tool__fill_defaults(tool); tool 1943 tools/perf/util/session.c err = auxtrace__flush_events(session, tool); tool 1949 tools/perf/util/session.c if (!tool->no_warn) tool 2176 tools/perf/util/session.c struct perf_tool *tool = session->tool; tool 2180 tools/perf/util/session.c perf_tool__fill_defaults(tool); tool 2194 tools/perf/util/session.c err = auxtrace__flush_events(session, tool); tool 2200 tools/perf/util/session.c if (!tool->no_warn) tool 38 tools/perf/util/session.h struct perf_tool *tool; tool 58 tools/perf/util/session.h bool repipe, struct perf_tool *tool); tool 73 tools/perf/util/session.h void perf_tool__fill_defaults(struct perf_tool *tool); tool 48 tools/perf/util/synthetic-events.c int perf_tool__process_synth_event(struct perf_tool *tool, tool 63 tools/perf/util/synthetic-events.c return process(tool, event, &synth_sample, machine); tool 175 tools/perf/util/synthetic-events.c pid_t perf_event__synthesize_comm(struct perf_tool *tool, tool 185 tools/perf/util/synthetic-events.c if (perf_tool__process_synth_event(tool, event, machine, process) != 0) tool 204 tools/perf/util/synthetic-events.c int perf_event__synthesize_namespaces(struct perf_tool *tool, tool 213 tools/perf/util/synthetic-events.c if (!tool || !tool->namespace_events) tool 237 tools/perf/util/synthetic-events.c if (perf_tool__process_synth_event(tool, event, machine, process) != 0) tool 243 tools/perf/util/synthetic-events.c static int perf_event__synthesize_fork(struct perf_tool *tool, tool 270 tools/perf/util/synthetic-events.c if (perf_tool__process_synth_event(tool, event, machine, process) != 0) tool 276 tools/perf/util/synthetic-events.c int perf_event__synthesize_mmap_events(struct perf_tool *tool, tool 403 tools/perf/util/synthetic-events.c if (perf_tool__process_synth_event(tool, event, machine, process) != 0) { tool 416 tools/perf/util/synthetic-events.c int perf_event__synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, tool 459 tools/perf/util/synthetic-events.c if (perf_tool__process_synth_event(tool, event, machine, process) != 0) { tool 474 tools/perf/util/synthetic-events.c struct perf_tool *tool, struct machine *machine, bool mmap_data) tool 484 tools/perf/util/synthetic-events.c tgid = perf_event__synthesize_comm(tool, comm_event, pid, tool 490 tools/perf/util/synthetic-events.c if (perf_event__synthesize_namespaces(tool, namespaces_event, pid, tool 499 tools/perf/util/synthetic-events.c perf_event__synthesize_mmap_events(tool, mmap_event, pid, tgid, tool 531 tools/perf/util/synthetic-events.c if (perf_event__synthesize_fork(tool, fork_event, _pid, tgid, tool 535 tools/perf/util/synthetic-events.c if (perf_event__synthesize_namespaces(tool, namespaces_event, _pid, tool 542 tools/perf/util/synthetic-events.c if (perf_tool__process_synth_event(tool, comm_event, machine, process) != 0) tool 548 tools/perf/util/synthetic-events.c rc = perf_event__synthesize_mmap_events(tool, mmap_event, pid, tgid, tool 559 tools/perf/util/synthetic-events.c int perf_event__synthesize_thread_map(struct perf_tool *tool, tool 592 tools/perf/util/synthetic-events.c process, tool, machine, tool 618 tools/perf/util/synthetic-events.c process, tool, machine, tool 636 tools/perf/util/synthetic-events.c static int __perf_event__synthesize_threads(struct perf_tool *tool, tool 683 tools/perf/util/synthetic-events.c tool, machine, mmap_data); tool 699 tools/perf/util/synthetic-events.c struct perf_tool *tool; tool 712 tools/perf/util/synthetic-events.c __perf_event__synthesize_threads(args->tool, args->process, tool 719 tools/perf/util/synthetic-events.c int perf_event__synthesize_threads(struct perf_tool *tool, tool 750 tools/perf/util/synthetic-events.c err = __perf_event__synthesize_threads(tool, process, tool 769 tools/perf/util/synthetic-events.c args[i].tool = tool; tool 806 tools/perf/util/synthetic-events.c int __weak perf_event__synthesize_extra_kmaps(struct perf_tool *tool __maybe_unused, tool 813 tools/perf/util/synthetic-events.c static int __perf_event__synthesize_kernel_mmap(struct perf_tool *tool, tool 863 tools/perf/util/synthetic-events.c err = perf_tool__process_synth_event(tool, event, machine, process); tool 869 tools/perf/util/synthetic-events.c int perf_event__synthesize_kernel_mmap(struct perf_tool *tool, tool 875 tools/perf/util/synthetic-events.c err = __perf_event__synthesize_kernel_mmap(tool, process, machine); tool 879 tools/perf/util/synthetic-events.c return perf_event__synthesize_extra_kmaps(tool, process, machine); tool 882 tools/perf/util/synthetic-events.c int perf_event__synthesize_thread_map2(struct perf_tool *tool, tool 912 tools/perf/util/synthetic-events.c err = process(tool, event, NULL, machine); tool 1032 tools/perf/util/synthetic-events.c int perf_event__synthesize_cpu_map(struct perf_tool *tool, tool 1044 tools/perf/util/synthetic-events.c err = process(tool, (union perf_event *) event, NULL, machine); tool 1050 tools/perf/util/synthetic-events.c int perf_event__synthesize_stat_config(struct perf_tool *tool, tool 1082 tools/perf/util/synthetic-events.c err = process(tool, (union perf_event *) event, NULL, machine); tool 1088 tools/perf/util/synthetic-events.c int perf_event__synthesize_stat(struct perf_tool *tool, tool 1107 tools/perf/util/synthetic-events.c return process(tool, (union perf_event *) &event, NULL, machine); tool 1110 tools/perf/util/synthetic-events.c int perf_event__synthesize_stat_round(struct perf_tool *tool, tool 1124 tools/perf/util/synthetic-events.c return process(tool, (union perf_event *) &event, NULL, machine); tool 1402 tools/perf/util/synthetic-events.c int perf_event__synthesize_id_index(struct perf_tool *tool, perf_event__handler_t process, tool 1436 tools/perf/util/synthetic-events.c err = process(tool, ev, NULL, machine); tool 1463 tools/perf/util/synthetic-events.c err = process(tool, ev, NULL, machine); tool 1470 tools/perf/util/synthetic-events.c int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool, tool 1476 tools/perf/util/synthetic-events.c return perf_event__synthesize_thread_map(tool, threads, process, machine, data_mmap); tool 1478 tools/perf/util/synthetic-events.c return perf_event__synthesize_threads(tool, process, tool 1511 tools/perf/util/synthetic-events.c int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, tool 1523 tools/perf/util/synthetic-events.c err = process(tool, (union perf_event *)ev, NULL, NULL); tool 1528 tools/perf/util/synthetic-events.c int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, tool 1541 tools/perf/util/synthetic-events.c err = process(tool, (union perf_event *)ev, NULL, NULL); tool 1546 tools/perf/util/synthetic-events.c int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, tool 1558 tools/perf/util/synthetic-events.c err = process(tool, (union perf_event *)ev, NULL, NULL); tool 1563 tools/perf/util/synthetic-events.c int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, tool 1586 tools/perf/util/synthetic-events.c err = process(tool, (union perf_event *)ev, NULL, NULL); tool 1591 tools/perf/util/synthetic-events.c int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, tool 1598 tools/perf/util/synthetic-events.c err = perf_event__synthesize_attr(tool, &evsel->core.attr, evsel->core.ids, tool 1619 tools/perf/util/synthetic-events.c int perf_event__synthesize_extra_attr(struct perf_tool *tool, struct evlist *evsel_list, tool 1637 tools/perf/util/synthetic-events.c err = perf_event__synthesize_event_update_unit(tool, evsel, process); tool 1645 tools/perf/util/synthetic-events.c err = perf_event__synthesize_event_update_scale(tool, evsel, process); tool 1653 tools/perf/util/synthetic-events.c err = perf_event__synthesize_event_update_cpus(tool, evsel, process); tool 1665 tools/perf/util/synthetic-events.c err = perf_event__synthesize_event_update_name(tool, evsel, process); tool 1675 tools/perf/util/synthetic-events.c int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, tool 1699 tools/perf/util/synthetic-events.c err = process(tool, ev, NULL, NULL); tool 1708 tools/perf/util/synthetic-events.c int perf_event__synthesize_tracing_data(struct perf_tool *tool, int fd, struct evlist *evlist, tool 1740 tools/perf/util/synthetic-events.c process(tool, &ev, NULL, NULL); tool 1755 tools/perf/util/synthetic-events.c int perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, tool 1775 tools/perf/util/synthetic-events.c return process(tool, &ev, NULL, machine); tool 1778 tools/perf/util/synthetic-events.c int perf_event__synthesize_stat_events(struct perf_stat_config *config, struct perf_tool *tool, tool 1784 tools/perf/util/synthetic-events.c err = perf_event__synthesize_attrs(tool, evlist, process); tool 1791 tools/perf/util/synthetic-events.c err = perf_event__synthesize_extra_attr(tool, evlist, process, attrs); tool 1792 tools/perf/util/synthetic-events.c err = perf_event__synthesize_thread_map2(tool, evlist->core.threads, process, NULL); tool 1798 tools/perf/util/synthetic-events.c err = perf_event__synthesize_cpu_map(tool, evlist->core.cpus, process, NULL); tool 1804 tools/perf/util/synthetic-events.c err = perf_event__synthesize_stat_config(tool, config, process, NULL); tool 1814 tools/perf/util/synthetic-events.c struct perf_tool *tool __maybe_unused, tool 1823 tools/perf/util/synthetic-events.c int perf_event__synthesize_features(struct perf_tool *tool, struct perf_session *session, tool 1867 tools/perf/util/synthetic-events.c ret = process(tool, ff.buf, NULL, NULL); tool 1880 tools/perf/util/synthetic-events.c ret = process(tool, ff.buf, NULL, NULL); tool 29 tools/perf/util/synthetic-events.h typedef int (*perf_event__handler_t)(struct perf_tool *tool, union perf_event *event, tool 32 tools/perf/util/synthetic-events.h int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process); tool 33 tools/perf/util/synthetic-events.h int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process); tool 34 tools/perf/util/synthetic-events.h int perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *machine); tool 35 tools/perf/util/synthetic-events.h int perf_event__synthesize_cpu_map(struct perf_tool *tool, struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *machine); tool 36 tools/perf/util/synthetic-events.h int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); tool 37 tools/perf/util/synthetic-events.h int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); tool 38 tools/perf/util/synthetic-events.h int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); tool 39 tools/perf/util/synthetic-events.h int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); tool 40 tools/perf/util/synthetic-events.h int perf_event__synthesize_extra_attr(struct perf_tool *tool, struct evlist *evsel_list, perf_event__handler_t process, bool is_pipe); tool 41 tools/perf/util/synthetic-events.h int perf_event__synthesize_extra_kmaps(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); tool 42 tools/perf/util/synthetic-events.h int perf_event__synthesize_features(struct perf_tool *tool, struct perf_session *session, struct evlist *evlist, perf_event__handler_t process); tool 43 tools/perf/util/synthetic-events.h int perf_event__synthesize_id_index(struct perf_tool *tool, perf_event__handler_t process, struct evlist *evlist, struct machine *machine); tool 44 tools/perf/util/synthetic-events.h int perf_event__synthesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); tool 45 tools/perf/util/synthetic-events.h int perf_event__synthesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_data); tool 46 tools/perf/util/synthetic-events.h int perf_event__synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); tool 47 tools/perf/util/synthetic-events.h int perf_event__synthesize_namespaces(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine); tool 49 tools/perf/util/synthetic-events.h int perf_event__synthesize_stat_config(struct perf_tool *tool, struct perf_stat_config *config, perf_event__handler_t process, struct machine *machine); tool 50 tools/perf/util/synthetic-events.h int perf_event__synthesize_stat_events(struct perf_stat_config *config, struct perf_tool *tool, struct evlist *evlist, perf_event__handler_t process, bool attrs); tool 51 tools/perf/util/synthetic-events.h int perf_event__synthesize_stat_round(struct perf_tool *tool, u64 time, u64 type, perf_event__handler_t process, struct machine *machine); tool 52 tools/perf/util/synthetic-events.h int perf_event__synthesize_stat(struct perf_tool *tool, u32 cpu, u32 thread, u64 id, struct perf_counts_values *count, perf_event__handler_t process, struct machine *machine); tool 53 tools/perf/util/synthetic-events.h int perf_event__synthesize_thread_map2(struct perf_tool *tool, struct perf_thread_map *threads, perf_event__handler_t process, struct machine *machine); tool 54 tools/perf/util/synthetic-events.h int perf_event__synthesize_thread_map(struct perf_tool *tool, struct perf_thread_map *threads, perf_event__handler_t process, struct machine *machine, bool mmap_data); tool 55 tools/perf/util/synthetic-events.h int perf_event__synthesize_threads(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine, bool mmap_data, unsigned int nr_threads_synthesize); tool 56 tools/perf/util/synthetic-events.h int perf_event__synthesize_tracing_data(struct perf_tool *tool, int fd, struct evlist *evlist, perf_event__handler_t process); tool 57 tools/perf/util/synthetic-events.h int perf_event__synth_time_conv(const struct perf_event_mmap_page *pc, struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); tool 58 tools/perf/util/synthetic-events.h pid_t perf_event__synthesize_comm(struct perf_tool *tool, union perf_event *event, pid_t pid, perf_event__handler_t process, struct machine *machine); tool 60 tools/perf/util/synthetic-events.h int perf_tool__process_synth_event(struct perf_tool *tool, union perf_event *event, struct machine *machine, perf_event__handler_t process); tool 64 tools/perf/util/synthetic-events.h int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool, tool 73 tools/perf/util/synthetic-events.h int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, struct perf_tool *tool, tool 82 tools/perf/util/synthetic-events.h struct perf_tool *tool __maybe_unused, tool 18 tools/perf/util/tool.h typedef int (*event_sample)(struct perf_tool *tool, union perf_event *event, tool 22 tools/perf/util/tool.h typedef int (*event_op)(struct perf_tool *tool, union perf_event *event, tool 25 tools/perf/util/tool.h typedef int (*event_attr_op)(struct perf_tool *tool, tool 33 tools/perf/util/tool.h typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event, tool 20 tools/perf/util/top.h struct perf_tool tool;