perf script: Fix symoff printing in callchains

cherry pick of upstream commit:

commit a4eb24a49566db77ee999b46603f602a0302f481
Author: Adrian Hunter <adrian.hunter@intel.com>
Date:   Fri Dec 6 09:42:56 2013 +0200

    The address being used to calculate the offset was the memory address
    but the address needed is the address mapped to the dso. i.e. the 'addr'
    member of 'struct addr_location'
perf tool: Fix bug in thread__fork

Commit 1902efe7f for the new comm infra added the wrong check for return
code on thread__set_comm. err == 0 is normal, so don't return at that
point unless err != 0.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
perf sched timehist: Add pstree option

Add option to show parent-child relationships based on events processed. Run
time per task is shown in msec. Useful for finding repetitive script bombs
that launch a lot of repetitive tasks.

perf sched timehist -T
...
       11.089 msec          make[10592]
        0.732 msec                  pwd[10593]
        1.953 msec                  grep[10594]
        1.848 msec                  sh[10595]
        1.775 msec                  sh[10596]
        1.748 msec                  sh[10597]
        2.059 msec                  sh[10598]
        2.208 msec                          make[10603]
        2.693 msec                                  rm[10605]
        0.690 msec                                  rm[10607]
...

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>