perf tools: Fix alignment on some sort keys
authorNamhyung Kim <namhyung@kernel.org>
Mon, 22 Feb 2016 00:32:33 +0000 (09:32 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 22 Feb 2016 15:05:55 +0000 (12:05 -0300)
commit2960ed6f8d6794dcb39ba48c3e515e5be18ee9e1
treea9cf55464a5c93d0408be00cf727a78475940b91
parentcecaec635de3719ef56a9261c10cd8f2f74ebdb1
perf tools: Fix alignment on some sort keys

The srcline, srcfile and trace sort keys can have long entries.  With
commit 89fee7094323 ("perf hists: Do column alignment on the format
iterator"), it now aligns output with hist_entry__snprintf_alignment().
So each (possibly long) sort entries don't need to do it themselves.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1456101153-14519-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c