lkml.org 
[lkml]   [2015]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHSET 0/7] perf tools: Assorted cleanup for TUI (v2)
Date
Hello,

This patches are to cleanup TUI hists browser code for later work. I
moved hist_entry_diff and hist_entry_tui under an union in order to
reduce memory footprint of hist entry. Also split out hist browser
functions to make it easier to read.

* changes in v2)
- add comment on the new union fields (Jiri)
- add missing sym->namelen check (Jiri)
- fix transient bug in zoom out on LEFT key press (Jiri)

It's available on 'perf/tui-cleanup-v2' branch in my tree:

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Thanks,
Namhyung

Namhyung Kim (7):
perf tools: Get rid of position field from struct hist_entry
perf diff: Make hist_entry_diff fields union
perf tools: Move TUI-specific fields to struct hist_entry_tui
perf tools: Move init_have_children field to struct hist_entry_tui
perf hists browser: Fix possible memory leak
perf hists browser: Split popup menu actions
perf hists browser: Simplify zooming code a bit

tools/perf/ui/browsers/hists.c | 612 ++++++++++++++++++++++++++---------------
tools/perf/util/hist.c | 4 +-
tools/perf/util/pstack.c | 7 +
tools/perf/util/pstack.h | 1 +
tools/perf/util/sort.h | 36 ++-
5 files changed, 416 insertions(+), 244 deletions(-)

--
2.3.5



\
 
 \ /
  Last update: 2015-04-20 15:21    [W:0.187 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site