perf session: Move the hist_entries rb tree to perf_session
As we'll need to sort multiple times for multiple perf sessions, so that we can then do a diff. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1260803439-16783-1-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
b9bf089212
commit
4e4f06e4c8
@ -1655,7 +1655,7 @@ static int process_lost_event(event_t *event __used,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int sample_type_check(u64 type)
|
||||
static int sample_type_check(u64 type, struct perf_session *session __used)
|
||||
{
|
||||
sample_type = type;
|
||||
|
||||
|
Reference in New Issue
Block a user