perf tools: Put common histogram functions in their own file
authorJohn Kacur <jkacur@redhat.com>
Mon, 28 Sep 2009 13:32:55 +0000 (15:32 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Sep 2009 11:57:56 +0000 (13:57 +0200)
commit3d1d07ecd2009f65cb2091563fa21f9600c36774
treea1ef97a8264fc880ee8a9406a9be9070d0d12176
parentdd68ada2d417e57b848822a1407b5317a54136c5
perf tools: Put common histogram functions in their own file

Move histogram related functions into their own files (hist.c and
hist.h) and make use of them in builtin-annotate.c and
builtin-report.c.

Signed-off-by: John Kacur <jkacur@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <alpine.LFD.2.00.0909281531180.8316@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/util/hist.c [new file with mode: 0644]
tools/perf/util/hist.h [new file with mode: 0644]