lkml.org 
[lkml]   [2012]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/7] perf ui/browser: Add browser for perf script
Date
Hi Arnaldo and all,

This is a patch set mainly to add a browser for perf script, which
will be integrated into the main hists and annotation browser.

Patch 1-4 are some preparation for adding the script
patch 5 introduce the script browser
patch 6-7 integrate the browser to hists browser and annotation browser

The patches are on top of current perf/core branch of your git tree.
Please help to review.

Namhyung,

Many thanks for providing many good comments for the v1 patch sets. In
this v2, I addressed most of those comments, for the suggestion to use
browser for "perf script -l", I'll handle it later, and would post the
v2 first for review.

Changelog:
Since v1:
* Add filter for scripts can't be run in script browser
* Fix some bugs about buffer handling and error check

Feng
-----------------------
Feng Tang (7):
perf symbols: Filter samples with unresolved symbol when "--symbols"
option is used
perf scripts: Add --symbols option to handle specific symbols
perf scripts: Add event_analyzing_sample-record/report
perf scripts: Export a find_scripts() function
perf ui/browser: Add a browser for perf script
perf ui/browser: Integrate script browser into annotation browser
perf ui/browser: Integrate script browser into main hists browser

tools/perf/Makefile | 4 +
tools/perf/builtin-script.c | 58 ++++++
tools/perf/builtin.h | 1 +
.../python/bin/event_analyzing_sample-record | 8 +
.../python/bin/event_analyzing_sample-report | 3 +
tools/perf/ui/browsers/annotate.c | 6 +
tools/perf/ui/browsers/hists.c | 37 ++++
tools/perf/ui/browsers/scripts.c | 182 ++++++++++++++++++++
tools/perf/util/event.c | 5 +-
tools/perf/util/hist.h | 7 +
10 files changed, 309 insertions(+), 2 deletions(-)
create mode 100644 tools/perf/scripts/python/bin/event_analyzing_sample-record
create mode 100644 tools/perf/scripts/python/bin/event_analyzing_sample-report
create mode 100644 tools/perf/ui/browsers/scripts.c



\
 
 \ /
  Last update: 2012-09-07 11:42    [W:0.108 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site