lkml.org 
[lkml]   [2012]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL 00/20] perf/core improvements

* Arnaldo Carvalho de Melo <acme@infradead.org> wrote:

> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> The following changes since commit e227051b13956b8f71c0abecc41ad351e64671c8:
>
> uprobes: Remove the unnecessary initialization in add_utask() (2012-06-16 09:10:52 +0200)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-core-for-mingo
>
> for you to fetch changes up to c0a58fb2bdf033df433cad9009c7dac4c6b872b0:
>
> perf annotate: Check null of sym pointer before using it (2012-06-19 14:30:26 -0300)
>
> ----------------------------------------------------------------
> perf/core improvements and fixes
>
> . Replace event_name with perf_evsel__name, that handles the event modifiers
> and doesn't use static variables.
>
> . GTK browser improvements, from Namhyung Kim
>
> . Fix possible NULL pointer deref in the TUI annotate browser, from Samuel Liao
>
> . Add sort by source file:line number, using addr2line.
>
> . Allow printing histogram text snapshots at any point in top/report.
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
>
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (13):
> perf tools: Add sort by src line/number
> perf lib: Introduce rtrim
> perf hists browser: Implement printing snapshots to files
> perf evsel: Carve out event modifier formatting
> perf tools: Reconstruct hw cache event with modifiers from perf_event_attr
> perf tools: Reconstruct sw event with modifiers from perf_event_attr
> perf evsel: Handle all event types in perf_evsel__name
> perf tools: Move all users of event_name to perf_evsel__name
> perf script: Replace __event_name uses with perf_evsel__name
> perf tools: Don't access evsel->name directly
> perf tools: Remove __event_name
> perf evsel: Reconstruct raw event with modifiers from perf_event_attr
> perf evsel: Make some methods private
>
> Jiri Olsa (1):
> perf tools: Remove unused evsel parameter from machine__resolve_callchain
>
> Namhyung Kim (5):
> perf ui: Introduce struct perf_error_ops
> perf ui/gtk: Introduce struct perf_gtk_context
> perf ui/gtk: Add GTK statusbar widget to browser window
> perf ui/gtk: Add GTK info_bar widget to browser window
> perf ui/gtk: Use struct perf_error_ops
>
> Samuel Liao (1):
> perf annotate: Check null of sym pointer before using it
>
> tools/perf/Documentation/perf-report.txt | 2 +-
> tools/perf/Documentation/perf-top.txt | 2 +-
> tools/perf/Makefile | 6 +
> tools/perf/builtin-evlist.c | 2 +-
> tools/perf/builtin-record.c | 4 +-
> tools/perf/builtin-report.c | 10 +-
> tools/perf/builtin-sched.c | 2 +-
> tools/perf/builtin-script.c | 42 ++---
> tools/perf/builtin-stat.c | 12 +-
> tools/perf/builtin-test.c | 2 +-
> tools/perf/builtin-top.c | 12 +-
> tools/perf/config/feature-tests.mak | 13 ++
> tools/perf/ui/browsers/annotate.c | 4 +-
> tools/perf/ui/browsers/hists.c | 210 ++++++++++++++++++++--
> tools/perf/ui/gtk/browser.c | 69 +++++++-
> tools/perf/ui/gtk/gtk.h | 31 ++++
> tools/perf/ui/gtk/setup.c | 5 +
> tools/perf/ui/gtk/util.c | 129 ++++++++++++++
> tools/perf/ui/tui/setup.c | 6 +
> tools/perf/ui/tui/util.c | 243 ++++++++++++++++++++++++++
> tools/perf/ui/util.c | 277 ++++++------------------------
> tools/perf/ui/util.h | 9 +-
> tools/perf/util/debug.c | 2 +-
> tools/perf/util/debug.h | 23 ++-
> tools/perf/util/evsel.c | 196 ++++++++++++++++++---
> tools/perf/util/evsel.h | 15 +-
> tools/perf/util/header.c | 2 +-
> tools/perf/util/hist.h | 1 +
> tools/perf/util/map.h | 2 +-
> tools/perf/util/parse-events-test.c | 4 +-
> tools/perf/util/parse-events.c | 203 ++--------------------
> tools/perf/util/parse-events.h | 2 -
> tools/perf/util/session.c | 9 +-
> tools/perf/util/session.h | 4 +-
> tools/perf/util/sort.c | 49 ++++++
> tools/perf/util/sort.h | 2 +
> tools/perf/util/string.c | 22 +++
> tools/perf/util/top.c | 2 +-
> tools/perf/util/util.h | 2 +
> 39 files changed, 1118 insertions(+), 514 deletions(-)
> create mode 100644 tools/perf/ui/gtk/util.c
> create mode 100644 tools/perf/ui/tui/util.c

Pulled, thanks Arnaldo!

One Makefile bug I noticed is that lib/tracevents does not clean
out these files:

.event-parse.d
.parse-filter.d
.parse-utils.d
.trace-seq.d

and this can break the build when the libgcc package upgraded:

comet:~/tip/tools/perf> make -j
SUBDIR ../lib/traceevent/
make[1]: *** No rule to make target `/usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/stddef.h',
needed by `event-parse.o'. Stop.
make: *** [../lib/traceevent//libtraceevent.a] Error 2

Thanks,

Ingo


\
 
 \ /
  Last update: 2012-06-20 16:41    [W:0.284 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site