perf tools: Display better error messages on missing packages
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 19 Oct 2009 02:20:24 +0000 (19:20 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 19 Oct 2009 08:06:37 +0000 (10:06 +0200)
commit1abc7f5500fff8422f34826a006648d8741d83d3
tree1136d94ed2ac06b359324ed6bebd651ead727010
parentdb9f11e36d0125a5e3e595ea9ef2e4b89f7e8737
perf tools: Display better error messages on missing packages

Check for libelf headers and glibc headers separately so that
the error message correctly identifies which package
installation is missing/needed.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: paulus@samba.org
Cc: a.p.zijlstra@chello.nl
Cc: efault@gmx.de
Cc: fweisbec@gmail.com
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <4ADBCCE8.3060300@oracle.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile