]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - tools/perf/util/sort.c
perf report: Fix alignment of symbol column when -v is given
[karo-tx-linux.git] / tools / perf / util / sort.c
index 5f52d492590c02dff879b4558b51b151dafe7204..16d5e38befe54cf685ab4ed376c677f458fef392 100644 (file)
@@ -194,7 +194,7 @@ static int _hist_entry__sym_snprintf(struct map *map, struct symbol *sym,
        if (verbose) {
                char o = map ? dso__symtab_origin(map->dso) : '!';
                ret += repsep_snprintf(bf, size, "%-#*llx %c ",
-                                      BITS_PER_LONG / 4, ip, o);
+                                      BITS_PER_LONG / 4 + 2, ip, o);
        }
 
        ret += repsep_snprintf(bf + ret, size - ret, "[%c] ", level);