From: Masami Hiramatsu Date: Wed, 14 Apr 2010 22:39:35 +0000 (-0400) Subject: perf probe: Fix mis-estimation for shortening filename X-Git-Tag: v2.6.35-rc1~522^2~102^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd259c5db26ccda46409dbf6efc79d5a2b259e38;p=pandora-kernel.git perf probe: Fix mis-estimation for shortening filename Fix mis-estimation size for making a short filename. Since the buffer size is 32 bytes and there are '@' prefix and '\0' termination, maximum shorten filename length should be 30. This means, before searching '/', it should be 31 bytes. LKML-Reference: <20100414223935.14630.11954.stgit@localhost6.localdomain6> Signed-off-by: Masami Hiramatsu Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Mike Galbraith Cc: Frederic Weisbecker Cc: Ingo Molnar Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed