From: Jiri Olsa Date: Thu, 28 Nov 2013 10:30:15 +0000 (+0100) Subject: perf tools: Fine tune readn function X-Git-Tag: v3.14-rc1~171^2~18^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=838d14520267769648fb2fc2a637107a1d102590;p=pandora-kernel.git perf tools: Fine tune readn function Added a 'left' variable to make the flow clearer, and added a debug check for the return value - returning 'n' is more obvious. Added small comment for readn. Signed-off-by: Jiri Olsa Original-patch-by: Ingo Molnar Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Mike Galbraith Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1385634619-8129-4-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed