Lines Matching full:sample

212 			      struct perf_sample *sample __maybe_unused,  in perf_event__repipe()
220 struct perf_sample *sample __maybe_unused, in perf_event__drop()
228 struct perf_sample *sample, in perf_event__drop_aux() argument
234 inject->aux_id = sample->id; in perf_event__drop_aux()
242 struct perf_sample *sample) in perf_inject__cut_auxtrace_sample() argument
244 size_t sz1 = sample->aux_sample.data - (void *)event; in perf_inject__cut_auxtrace_sample()
245 size_t sz2 = event->header.size - sample->aux_sample.size - sz1; in perf_inject__cut_auxtrace_sample()
263 struct perf_sample *sample,
269 struct perf_sample *sample, in perf_event__repipe_sample() argument
278 return f(tool, event, sample, evsel, machine); in perf_event__repipe_sample()
281 build_id__mark_dso_hit(tool, event, sample, evsel, machine); in perf_event__repipe_sample()
283 if (inject->itrace_synth_opts.set && sample->aux_sample.size) in perf_event__repipe_sample()
284 event = perf_inject__cut_auxtrace_sample(inject, event, sample); in perf_event__repipe_sample()
291 struct perf_sample *sample, in perf_event__repipe_mmap() argument
296 err = perf_event__process_mmap(tool, event, sample, machine); in perf_event__repipe_mmap()
297 perf_event__repipe(tool, event, sample, machine); in perf_event__repipe_mmap()
305 struct perf_sample *sample, in perf_event__jit_repipe_mmap() argument
323 return perf_event__repipe_mmap(tool, event, sample, machine); in perf_event__jit_repipe_mmap()
372 struct perf_sample *sample, in perf_event__repipe_buildid_mmap() argument
382 dso__inject_build_id(dso, tool, machine, sample->cpumode, 0); in perf_event__repipe_buildid_mmap()
386 return perf_event__repipe(tool, event, sample, machine); in perf_event__repipe_buildid_mmap()
391 struct perf_sample *sample, in perf_event__repipe_mmap2() argument
396 err = perf_event__process_mmap2(tool, event, sample, machine); in perf_event__repipe_mmap2()
397 perf_event__repipe(tool, event, sample, machine); in perf_event__repipe_mmap2()
405 struct perf_sample *sample, in perf_event__jit_repipe_mmap2() argument
423 return perf_event__repipe_mmap2(tool, event, sample, machine); in perf_event__jit_repipe_mmap2()
429 struct perf_sample *sample, in perf_event__repipe_buildid_mmap2() argument
445 dso__inject_build_id(dso, tool, machine, sample->cpumode, in perf_event__repipe_buildid_mmap2()
450 perf_event__repipe(tool, event, sample, machine); in perf_event__repipe_buildid_mmap2()
457 struct perf_sample *sample, in perf_event__repipe_fork() argument
462 err = perf_event__process_fork(tool, event, sample, machine); in perf_event__repipe_fork()
463 perf_event__repipe(tool, event, sample, machine); in perf_event__repipe_fork()
470 struct perf_sample *sample, in perf_event__repipe_comm() argument
475 err = perf_event__process_comm(tool, event, sample, machine); in perf_event__repipe_comm()
476 perf_event__repipe(tool, event, sample, machine); in perf_event__repipe_comm()
483 struct perf_sample *sample, in perf_event__repipe_namespaces() argument
486 int err = perf_event__process_namespaces(tool, event, sample, machine); in perf_event__repipe_namespaces()
488 perf_event__repipe(tool, event, sample, machine); in perf_event__repipe_namespaces()
495 struct perf_sample *sample, in perf_event__repipe_exit() argument
500 err = perf_event__process_exit(tool, event, sample, machine); in perf_event__repipe_exit()
501 perf_event__repipe(tool, event, sample, machine); in perf_event__repipe_exit()
558 struct perf_sample *sample, in perf_event__inject_buildid() argument
565 thread = machine__findnew_thread(machine, sample->pid, sample->tid); in perf_event__inject_buildid()
572 if (thread__find_map(thread, sample->cpumode, sample->ip, &al)) { in perf_event__inject_buildid()
576 sample->cpumode, al.map->flags); in perf_event__inject_buildid()
582 perf_event__repipe(tool, event, sample, machine); in perf_event__inject_buildid()
588 struct perf_sample *sample, in perf_inject__sched_process_exit() argument
596 if (sample->tid == ent->tid) { in perf_inject__sched_process_exit()
608 struct perf_sample *sample, in perf_inject__sched_switch() argument
615 perf_inject__sched_process_exit(tool, event, sample, evsel, machine); in perf_inject__sched_switch()
624 ent->tid = sample->tid; in perf_inject__sched_switch()
632 struct perf_sample *sample, in perf_inject__sched_stat() argument
640 u32 pid = evsel__intval(evsel, sample, "pid"); in perf_inject__sched_stat()
652 sample_sw.period = sample->period; in perf_inject__sched_stat()
653 sample_sw.time = sample->time; in perf_inject__sched_stat()
681 struct perf_sample *sample __maybe_unused, in drop_sample()
723 inject->tool.sample = perf_event__inject_buildid; in __cmd_inject()
804 .sample = perf_event__repipe_sample, in cmd_inject()