perf tools: Bug fix and cleanup for sort keys
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | perf hists: Fix an invalid memory free on he->branch_infotools/ tools/ | +20 | 0 replies | |
| 2/9 | perf hists: Free unused mem info of a matched hist entrytools/ | +6 | 0 replies | |
| 3/9 | perf report: Fix alignment of symbol column when -v is giventools/ tools/ | +16 | 0 replies | |
| 4/9 | perf sort: Introduce sort__mode variabletools/ tools/ tools/ +1 more | +24 | 0 replies | |
| 5/9 | perf sort: Separate out memory-specific sort keystools/ tools/ tools/ | +55 | 2 replies | |
| 6/9 | perf sort: Add 'addr' sort keytools/ tools/ tools/ +1 more | +28 | 4 replies | |
| 7/9 | perf sort: Add 'addr_to/from' sort keytools/ tools/ tools/ +1 more | +56 | 0 replies | |
| 8/9 | perf sort: Update documentation for sort keystools/ tools/ tools/ +3 more | +12 | 0 replies | |
| 9/9 | perf hists: Move column length setting codetools/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHSET 0/9] perf tools: Bug fix and cleanup for sort keys
Hi,
This is a couple of bugfix, cleanup and enhancement for sort keys.
When I rebased previous --sort addr* patches, I found that separating sort mode might be helpful to users so I did the cleanup. But during the test I, in turn, found a bug in freeing the branch info of a hist entry. And the mem info patch is only compile-tested - it'd be great if Stephane could take a look and help to test.
You can get it from 'perf/sort-v3' branch on my tree at:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git
Any comments are welcome, thanks.
Namhyung
Namhyung Kim (9):
perf hists: Fix an invalid memory free on he->branch_info perf hists: Free unused mem info of a matched hist entry perf report: Fix alignment of symbol column when -v is given perf sort: Introduce sort__mode variable
perf sort: Separate out memory-specific sort keys perf sort: Add 'addr' sort key
perf sort: Add 'addr_to/from' sort key
perf sort: Update documentation for sort keys
perf hists: Move column length setting code
tools/perf/Documentation/perf-diff.txt | 2 +- tools/perf/Documentation/perf-report.txt | 5 +- tools/perf/Documentation/perf-top.txt | 2 +- tools/perf/builtin-diff.c | 2 +- tools/perf/builtin-report.c | 40 ++++++---- tools/perf/builtin-top.c | 3 +- tools/perf/ui/browsers/hists.c | 4 +- tools/perf/util/hist.c | 63 ++++++++++----- tools/perf/util/hist.h | 5 +- tools/perf/util/sort.c | 129 ++++++++++++++++++++++++++++--- tools/perf/util/sort.h | 30 ++++--- 11 files changed, 223 insertions(+), 62 deletions(-)
Signature · 1 line
1.7.11.7