perf tools: Display better error messages on missing packages
commit7d5a5a07e9bb0d57c2d7d034da8702000db07550
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 19 Oct 2009 02:20:24 +0000 (18 19:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 May 2011 22:55:26 +0000 (9 15:55 -0700)
treebeb764cea0d9aa8971eb53d1793ac3f5c3a91f47
parent7117cec32d5e1da1fbe3c3247354589c8aec61c9
perf tools: Display better error messages on missing packages

commit 1abc7f5500fff8422f34826a006648d8741d83d3 upstream.

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>
[bwh: Backport to 2.6.32]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
tools/perf/Makefile