Hello, This is a new version of callchain improvement patchset. I found and fixed bugs in the previous version. I verified that it produced exactly same output before and after applying rbtree conversion patch (#1). However after Frederic's new comm infrastructure patches are applied it'd be little different.
The patches are on 'perf/callchain-v4' branch in my tree git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git Please test! Thanks, Namhyung Frederic Weisbecker (4): perf tools: Use an accessor to read thread comm perf tools: Add time argument on comm setting perf tools: Add new comm infrastructure perf tools: Compare hists comm by addresses Namhyung Kim (4): perf callchain: Convert children list to rbtree perf ui/progress: Add new helper functions for progress bar perf tools: Show progress on histogram collapsing perf tools: Get current comm instead of last one tools/perf/Makefile | 2 + tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +- tools/perf/builtin-kmem.c | 2 +- tools/perf/builtin-lock.c | 2 +- tools/perf/builtin-report.c | 10 +- tools/perf/builtin-sched.c | 16 +-- tools/perf/builtin-script.c | 6 +- tools/perf/builtin-top.c | 6 +- tools/perf/builtin-trace.c | 17 +-- tools/perf/tests/code-reading.c | 2 +- tools/perf/tests/hists_link.c | 8 +- tools/perf/ui/browsers/hists.c | 10 +- tools/perf/ui/progress.c | 18 +++ tools/perf/ui/progress.h | 10 ++ tools/perf/util/callchain.c | 147 ++++++++++++++++----- tools/perf/util/callchain.h | 11 +- tools/perf/util/comm.c | 121 +++++++++++++++++ tools/perf/util/comm.h | 21 +++ tools/perf/util/event.c | 32 ++--- tools/perf/util/hist.c | 8 +- tools/perf/util/hist.h | 3 +- tools/perf/util/machine.c | 39 +++--- tools/perf/util/machine.h | 21 ++- .../perf/util/scripting-engines/trace-event-perl.c | 2 +- .../util/scripting-engines/trace-event-python.c | 4 +- tools/perf/util/session.c | 26 ++-- tools/perf/util/sort.c | 19 ++- tools/perf/util/sort.h | 1 + tools/perf/util/thread.c | 103 +++++++++++---- tools/perf/util/thread.h | 10 +- 31 files changed, 504 insertions(+), 177 deletions(-) create mode 100644 tools/perf/util/comm.c create mode 100644 tools/perf/util/comm.h -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/