Lines Matching full:sample
352 struct perf_sample *sample);
355 struct perf_sample *sample);
358 struct perf_sample *sample);
361 struct perf_sample *sample);
401 struct perf_sample *sample) in report_lock_acquire_event() argument
407 const char *name = evsel__strval(evsel, sample, "name"); in report_lock_acquire_event()
408 u64 tmp = evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_acquire_event()
409 int flag = evsel__intval(evsel, sample, "flags"); in report_lock_acquire_event()
419 ts = thread_stat_findnew(sample->tid); in report_lock_acquire_event()
467 seq->prev_event_time = sample->time; in report_lock_acquire_event()
473 struct perf_sample *sample) in report_lock_acquired_event() argument
480 const char *name = evsel__strval(evsel, sample, "name"); in report_lock_acquired_event()
481 u64 tmp = evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_acquired_event()
491 ts = thread_stat_findnew(sample->tid); in report_lock_acquired_event()
506 contended_term = sample->time - seq->prev_event_time; in report_lock_acquired_event()
530 seq->prev_event_time = sample->time; in report_lock_acquired_event()
536 struct perf_sample *sample) in report_lock_contended_event() argument
542 const char *name = evsel__strval(evsel, sample, "name"); in report_lock_contended_event()
543 u64 tmp = evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_contended_event()
553 ts = thread_stat_findnew(sample->tid); in report_lock_contended_event()
585 seq->prev_event_time = sample->time; in report_lock_contended_event()
591 struct perf_sample *sample) in report_lock_release_event() argument
597 const char *name = evsel__strval(evsel, sample, "name"); in report_lock_release_event()
598 u64 tmp = evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_release_event()
608 ts = thread_stat_findnew(sample->tid); in report_lock_release_event()
660 static int evsel__process_lock_acquire(struct evsel *evsel, struct perf_sample *sample) in evsel__process_lock_acquire() argument
663 return trace_handler->acquire_event(evsel, sample); in evsel__process_lock_acquire()
667 static int evsel__process_lock_acquired(struct evsel *evsel, struct perf_sample *sample) in evsel__process_lock_acquired() argument
670 return trace_handler->acquired_event(evsel, sample); in evsel__process_lock_acquired()
674 static int evsel__process_lock_contended(struct evsel *evsel, struct perf_sample *sample) in evsel__process_lock_contended() argument
677 return trace_handler->contended_event(evsel, sample); in evsel__process_lock_contended()
681 static int evsel__process_lock_release(struct evsel *evsel, struct perf_sample *sample) in evsel__process_lock_release() argument
684 return trace_handler->release_event(evsel, sample); in evsel__process_lock_release()
807 struct perf_sample *sample);
811 struct perf_sample *sample, in process_sample_event() argument
816 struct thread *thread = machine__findnew_thread(machine, sample->pid, in process_sample_event()
817 sample->tid); in process_sample_event()
827 err = f(evsel, sample); in process_sample_event()
860 .sample = process_sample_event, in __cmd_report()