Lines Matching refs:sample
340 struct perf_sample *sample);
343 struct perf_sample *sample);
346 struct perf_sample *sample);
349 struct perf_sample *sample);
389 struct perf_sample *sample) in report_lock_acquire_event() argument
395 const char *name = perf_evsel__strval(evsel, sample, "name"); in report_lock_acquire_event()
396 u64 tmp = perf_evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_acquire_event()
397 int flag = perf_evsel__intval(evsel, sample, "flag"); in report_lock_acquire_event()
407 ts = thread_stat_findnew(sample->tid); in report_lock_acquire_event()
456 seq->prev_event_time = sample->time; in report_lock_acquire_event()
462 struct perf_sample *sample) in report_lock_acquired_event() argument
469 const char *name = perf_evsel__strval(evsel, sample, "name"); in report_lock_acquired_event()
470 u64 tmp = perf_evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_acquired_event()
480 ts = thread_stat_findnew(sample->tid); in report_lock_acquired_event()
495 contended_term = sample->time - seq->prev_event_time; in report_lock_acquired_event()
520 seq->prev_event_time = sample->time; in report_lock_acquired_event()
526 struct perf_sample *sample) in report_lock_contended_event() argument
532 const char *name = perf_evsel__strval(evsel, sample, "name"); in report_lock_contended_event()
533 u64 tmp = perf_evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_contended_event()
543 ts = thread_stat_findnew(sample->tid); in report_lock_contended_event()
575 seq->prev_event_time = sample->time; in report_lock_contended_event()
581 struct perf_sample *sample) in report_lock_release_event() argument
587 const char *name = perf_evsel__strval(evsel, sample, "name"); in report_lock_release_event()
588 u64 tmp = perf_evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_release_event()
598 ts = thread_stat_findnew(sample->tid); in report_lock_release_event()
653 struct perf_sample *sample) in perf_evsel__process_lock_acquire() argument
656 return trace_handler->acquire_event(evsel, sample); in perf_evsel__process_lock_acquire()
661 struct perf_sample *sample) in perf_evsel__process_lock_acquired() argument
664 return trace_handler->acquired_event(evsel, sample); in perf_evsel__process_lock_acquired()
669 struct perf_sample *sample) in perf_evsel__process_lock_contended() argument
672 return trace_handler->contended_event(evsel, sample); in perf_evsel__process_lock_contended()
677 struct perf_sample *sample) in perf_evsel__process_lock_release() argument
680 return trace_handler->release_event(evsel, sample); in perf_evsel__process_lock_release()
800 struct perf_sample *sample);
804 struct perf_sample *sample, in process_sample_event() argument
808 struct thread *thread = machine__findnew_thread(machine, sample->pid, in process_sample_event()
809 sample->tid); in process_sample_event()
819 return f(evsel, sample); in process_sample_event()
835 .sample = process_sample_event, in read_events()