perf tools: Add prelink suggestion to dso update message
authorDavid Ahern <dsahern@gmail.com>
Wed, 19 Oct 2011 00:44:45 +0000 (18:44 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Oct 2011 15:13:43 +0000 (13:13 -0200)
commite77b15bd849fc85b0228e95da9b7559aa6d31f40
treed51af7b405337ac9c5584fe6fa2a5c532598cf7f
parent51192de3b8df0c22d311df7299979a7618daf267
perf tools: Add prelink suggestion to dso update message

Following a prelink run mapped files for long running processes can show
as deleted. The current message suggests restarting long running
processes. Add to that a suggestion that prelink might be the cause.

Old message:
/lib64/libc-2.14.so was updated, restart the long running
 apps that use it!

New message:
/lib64/libc-2.14.so was updated (is prelink enabled?).
  Restart the long running apps that use it!

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1318985085-20776-1-git-send-email-dsahern@gmail.com
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/map.c