[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1527843663-32288-1-git-send-email-yao.jin@linux.intel.com>
Date: Fri, 1 Jun 2018 17:01:00 +0800
From: Jin Yao <yao.jin@...ux.intel.com>
To: acme@...nel.org, jolsa@...nel.org, peterz@...radead.org,
mingo@...hat.com, alexander.shishkin@...ux.intel.com
Cc: Linux-kernel@...r.kernel.org, ak@...ux.intel.com,
kan.liang@...el.com, yao.jin@...el.com,
Jin Yao <yao.jin@...ux.intel.com>
Subject: [PATCH v2 0/3] perf script python: Add more PMU fields
When doing pmu sampling and then running a script with
perf script -s script.py, the process_event function gets
dictionary with some fields from the perf ring buffer
(like ip, sym, callchain etc).
But we miss quite a few fields we report now, for example,
LBRs,data source,weight,transaction,iregs,uregs,and etc.
This patch adds these fields for perf script python.
Jin Yao (3):
perf script python: Move dsoname code to a new function
perf script python: Add more PMU fields
perf script python: Add fields introduction to Documentation
tools/perf/Documentation/perf-script-python.txt | 26 +++
.../util/scripting-engines/trace-event-python.c | 250 ++++++++++++++++++++-
2 files changed, 267 insertions(+), 9 deletions(-)
--
2.7.4
Powered by blists - more mailing lists