Lines Matching refs:session
9 #include "util/session.h"
315 struct perf_session *session)
317 struct thread *thread = perf_session__findnew(session, event->ip.pid);
347 static void __print_result(struct rb_root *root, struct perf_session *session,
360 machine = perf_session__find_host_machine(session);
417 static void print_result(struct perf_session *session)
420 __print_result(&root_caller_sorted, session, caller_lines, 1);
422 __print_result(&root_alloc_sorted, session, alloc_lines, 0);
491 struct perf_session *session = perf_session__new(input_name, O_RDONLY,
493 if (session == NULL)
496 if (perf_session__create_kernel_maps(session) < 0)
499 if (!perf_session__has_traces(session, "kmem record"))
503 err = perf_session__process_events(session, &event_ops);
507 print_result(session);
509 perf_session__delete(session);