perf tools: Improve message about missing symtabs for deleted DSOs
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Oct 2009 18:28:25 +0000 (16:28 -0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 2 Nov 2009 15:52:12 +0000 (16:52 +0100)
commitd70a5402f9c2e2671b809363616b3508b4c5a565
tree1dd27fc44cc1e395542fcd6381f4b9b46be72264
parent00a192b395b0606ad0265243844b3cd68e73420a
perf tools: Improve message about missing symtabs for deleted DSOs

Instead of:

  no symbols found in /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so (deleted), maybe install a debug package?
  no symbols found in /usr/lib/gstreamer-0.10/libgstaudioconvert.so (deleted), maybe install a debug package?

We now emit:

  /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so was updated, restart the long running apps that use it!
  /usr/lib/gstreamer-0.10/libgstaudioconvert.so was updated, restart the long running apps that use it!

Which is far less misleading about what the cause of the
symbol mismatch is.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1256927305-4628-3-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/map.c