aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorTaeung Song <[email protected]>2017-04-07 14:24:18 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-04-11 11:45:10 +0000
commitb07c40df1f4e6f937271921cb116d570bb9c4a31 (patch)
tree24b825c3e31e0a42da673838dbaff41a8191314d /tools/perf/util/annotate.c
parentperf evsel: Return exact sub event which failed with EPERM for wildcards (diff)
downloadkernel-b07c40df1f4e6f937271921cb116d570bb9c4a31.tar.gz
kernel-b07c40df1f4e6f937271921cb116d570bb9c4a31.zip
perf stat: Refactor the code to strip csv output with ltrim()
To strip csv output, use ltrim() instead of just while loop and isspace() at print_metric_{only}_csv(). Signed-off-by: Taeung Song <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions