perf tools: Factorize the thread code in a dedicated file
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 14 Aug 2009 10:21:53 +0000 (12:21 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 15 Aug 2009 14:10:19 +0000 (16:10 +0200)
commit6baa0a5ae0954fb2486c480a20556a9f1aee0965
treeb85e485562b34b222153d41414dec655724e26b8
parentbe750231ce1599b86fbba213e3da8344ece262e2
perf tools: Factorize the thread code in a dedicated file

Factorize the thread management code used by perf-annotate and
perf-report in dedicated source and header files.

v2: pass last_match by address so that it can actually be
modified.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1250245313-6995-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/util/thread.c [new file with mode: 0644]
tools/perf/util/thread.h [new file with mode: 0644]