perf evsel: Allow passing a left alignment when printing a symbol
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Apr 2016 13:53:51 +0000 (10:53 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Apr 2016 01:18:15 +0000 (22:18 -0300)
commitdb3617f362d7e205621c1ccc22b77d224a81ee14
tree6633853b60e1a2143478dd59baea4f2c00bfe1e0
parent6186de9a491af030889b372193fc9f38c248e69a
perf evsel: Allow passing a left alignment when printing a symbol

For callchains, etc where we want it to align just below the syscall
name, for instance, in 'perf trace'

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-uk9ekchd67651c625ltaur5y@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
tools/perf/util/session.c
tools/perf/util/session.h