aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2013-11-28 11:30:15 +0100
committerArnaldo Carvalho de Melo <[email protected]>2013-12-02 09:22:46 -0300
commit838d14520267769648fb2fc2a637107a1d102590 (patch)
tree48f16ca6aa41f01ac852114a224f3715578f1b15 /lib/string_helpers.c
parent727ebd544f85285a223ecc6a2a57ef90202cdc7b (diff)
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 <[email protected]> Original-patch-by: Ingo Molnar <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions