From: Ingo Molnar <mingo@kernel.org>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: "Clark Williams" <williams@redhat.com>,
linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org,
"Adrian Hunter" <adrian.hunter@intel.com>,
"Alexander Shishkin" <alexander.shishkin@linux.intel.com>,
"Alexey Budankov" <alexey.budankov@linux.intel.com>,
"Alexis Berlemont" <alexis.berlemont@gmail.com>,
"Andi Kleen" <ak@linux.intel.com>,
"David Ahern" <dsahern@gmail.com>,
"David S . Miller" <davem@davemloft.net>,
"David Tolnay" <dtolnay@gmail.com>,
"Hanjun Guo" <guohanjun@huawei.com>,
"Hemant Kumar" <hemant@linux.vnet.ibm.com>,
"Hendrik Brueckner" <brueckner@linux.vnet.ibm.com>,
"Hongxu Jia" <hongxu.jia@windriver.com>,
"Jin Yao" <yao.jin@linux.intel.com>,
"Jiri Olsa" <jolsa@redhat.com>,
"Josh Poimboeuf" <jpoimboe@redhat.com>,
"Kim Phillips" <kim.phillips@arm.com>,
"Leo Yan" <leo.yan@linaro.org>,
"Li Bin" <huawei.libin@huawei.com>,
"Masami Hiramatsu" <mhiramat@kernel.org>,
"Michael Ellerman" <mpe@ellerman.id.au>,
"Milian Wolff" <milian.wolff@kdab.com>,
"Namhyung Kim" <namhyung@kernel.org>,
"Peter Zijlstra" <peterz@infradead.org>,
"Ravi Bangoria" <ravi.bangoria@linux.vnet.ibm.com>,
"Rudá Moura" <ruda.moura@gmail.com>,
"Sébastien Boisvert" <sboisvert@gydle.com>,
"Thomas Richter" <tmricht@linux.vnet.ibm.com>,
"Wang Nan" <wangnan0@huawei.com>,
zhangmengting@huawei.com,
"Arnaldo Carvalho de Melo" <acme@redhat.com>
Subject: Re: [PATCH 00/37] perf/core improvements and fixes
Date: Fri, 26 Oct 2018 09:25:28 +0200 [thread overview]
Message-ID: <20181026072528.GA5782@gmail.com> (raw)
In-Reply-To: <20181025111031.3440-1-acme@kernel.org>
* Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> Test results at the end of this message, as usual.
>
> The following changes since commit ce6c9da1113ad681bff27a3e376d2017f7f8a59c:
>
> Merge remote-tracking branch 'tip/perf/urgent' into perf/core (2018-10-18 11:13:01 -0300)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.20-20181025
>
> for you to fetch changes up to fe57120e18a1f9124ca758c89cc54f91333d1847:
>
> perf script: Support total cycles count (2018-10-24 15:29:56 -0300)
>
> ----------------------------------------------------------------
> perf/core improvements and fixes:
>
> - Introduce 'perf trace --max-events' for stopping 'perf trace' when
> that many syscalls (enter+exit), tracepoints or other events such as
> page faults take place.
>
> Support that as well on a per-event basis, e.g.:
>
> perf trace -e sched:*switch/nr=2/,block:*_plug/nr=4/,block:*_unplug/nr=1/,net:*dev_queue/nr=3,max-stack=16/
>
> Will stop when 2 context switches, 4 block plugs, 1 block unplug and
> 3 net_dev_queue tracepoints take place. (Arnaldo Carvalho de Melo)
>
> - Poll for monitored tasks being alive in 'perf stat -p/-t', exiting when
> those tasks all terminate (Jiri Olsa)
>
> - Encode -k clockid frequency into perf.data to enable timestamps derived
> metrics conversion into wall clock time on reporting stage. (Alexey Budankov)
>
> - Improve Intel PT call graph from SQL database and GUI python scripts,
> including adopting the Qt MDI interface to allow for multiple subwindows
> for all the tables, helping in better visualizing the data in the SQL
> tables, also uses, when available, the Intel XED disassembler libraries
> to present the Intel PT data as x86 asm mnemonics. This last feature
> is not currently working in some cases, fix is being discussed (Adrian Hunter)
>
> - Implement a ftrace function_graph view in 'perf script' when processing
> hardware trace data such as Intel PT (Andi Kleen)
>
> - Better integration with the Intel XED disassembler, when available, in
> 'perf script' (Andi Kleen)
>
> - Some 'perf trace' drop refcount fixes (Arnaldo Carvalho de Melo)
>
> - Add Sparc support to 'perf annotate', jitdump (David Miller)
>
> - Fix PLT symbols entry/header sizes properly on Sparc (David Miller)
>
> - Fix generation of system call table failure with /tmp mounted with 'noexec'
> in arm64 (Hongxu Jia)
>
> - Allow extended console debug output in 'perf script' (Milian Wolff)
>
> - Flush output stream after events in 'perf script' verbose mode (Milian Wolff)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
>
> ----------------------------------------------------------------
> Adrian Hunter (17):
> perf scripts python: call-graph-from-sql.py: Use SPDX license identifier
> perf scripts python: call-graph-from-sql.py: Provide better default column sizes
> perf scripts python: call-graph-from-sql.py: Set a minimum window size
> perf scripts python: call-graph-from-sql.py: Change icon
> perf scripts python: call-graph-from-sql.py: Make a "Main" function
> perf scripts python: call-graph-from-sql.py: Separate the database details into a class
> perf scripts python: call-graph-from-sql.py: Add a class for global data
> perf scripts python: call-graph-from-sql.py: Remove use of setObjectName()
> perf scripts python: call-graph-from-sql.py: Factor out CallGraphModel from TreeModel
> perf scripts python: call-graph-from-sql.py: Add data helper functions
> perf scripts python: call-graph-from-sql.py: Refactor TreeItem class
> perf scripts python: call-graph-from-sql.py: Rename to exported-sql-viewer.py
> perf scripts python: exported-sql-viewer.py: Add support for multiple sub-windows
> perf scripts python: exported-sql-viewer.py: Add ability to find symbols in the call-graph
> perf scripts python: exported-sql-viewer.py: Add ability to shrink / enlarge font
> perf scripts python: exported-sql-viewer.py: Add ability to display all the database tables
> perf scripts python: exported-sql-viewer.py: Add All branches report
>
> Alexey Budankov (1):
> perf record: Encode -k clockid frequency into Perf trace
>
> Andi Kleen (5):
> perf script: Add --insn-trace for instruction decoding
> perf script: Make itrace script default to all calls
> tools script: Add --call-trace and --call-ret-trace
> perf script: Implement --graph-function
> perf script: Support total cycles count
>
> Arnaldo Carvalho de Melo (7):
> tools lib subcmd: Introduce OPTION_ULONG
> perf trace: Introduce --max-events
> perf evsel: Introduce per event max_events property
> perf evsel: Mark a evsel as disabled when asking the kernel do disable it
> perf trace: Drop addr_location refcounts
> perf trace: Drop thread refcount in trace__event_handler()
> perf trace: Introduce per-event maximum number of events property
>
> David Miller (3):
> perf annotate: Add Sparc support
> perf jitdump: Add Sparc support.
> perf symbols: Set PLT entry/header sizes properly on Sparc
>
> Hongxu Jia (1):
> perf arm64: Fix generate system call table failed with /tmp mounted with noexec
>
> Jiri Olsa (1):
> perf stat: Poll for monitored tasks being alive
>
> Milian Wolff (2):
> perf script: Allow extended console debug output
> perf script: Flush output stream after events in verbose mode
>
> tools/lib/subcmd/parse-options.c | 19 +
> tools/lib/subcmd/parse-options.h | 2 +
> tools/perf/Documentation/build-xed.txt | 19 +
> tools/perf/Documentation/intel-pt.txt | 2 +-
> tools/perf/Documentation/itrace.txt | 7 +-
> tools/perf/Documentation/perf-script.txt | 18 +
> tools/perf/Documentation/perf-trace.txt | 67 +
> tools/perf/arch/arm64/entry/syscalls/mksyscalltbl | 2 +-
> tools/perf/arch/sparc/Makefile | 2 +
> tools/perf/arch/sparc/annotate/instructions.c | 169 ++
> tools/perf/builtin-record.c | 24 +-
> tools/perf/builtin-script.c | 166 +-
> tools/perf/builtin-stat.c | 24 +
> tools/perf/builtin-trace.c | 50 +-
> tools/perf/perf.h | 1 +
> tools/perf/scripts/python/call-graph-from-sql.py | 339 ----
> tools/perf/scripts/python/export-to-postgresql.py | 2 +-
> tools/perf/scripts/python/export-to-sqlite.py | 2 +-
> tools/perf/scripts/python/exported-sql-viewer.py | 2128 +++++++++++++++++++++
> tools/perf/util/annotate.c | 8 +
> tools/perf/util/auxtrace.c | 17 +-
> tools/perf/util/auxtrace.h | 5 +-
> tools/perf/util/cs-etm.c | 3 +-
> tools/perf/util/env.h | 1 +
> tools/perf/util/evlist.c | 2 +-
> tools/perf/util/evsel.c | 27 +-
> tools/perf/util/evsel.h | 5 +
> tools/perf/util/genelf.h | 6 +
> tools/perf/util/header.c | 23 +
> tools/perf/util/header.h | 1 +
> tools/perf/util/intel-bts.c | 3 +-
> tools/perf/util/intel-pt.c | 3 +-
> tools/perf/util/parse-events.c | 8 +
> tools/perf/util/parse-events.h | 1 +
> tools/perf/util/parse-events.l | 1 +
> tools/perf/util/symbol-elf.c | 12 +-
> tools/perf/util/symbol.h | 3 +-
> tools/perf/util/thread.h | 2 +
> 38 files changed, 2778 insertions(+), 396 deletions(-)
> create mode 100644 tools/perf/Documentation/build-xed.txt
> create mode 100644 tools/perf/arch/sparc/annotate/instructions.c
> delete mode 100644 tools/perf/scripts/python/call-graph-from-sql.py
> create mode 100755 tools/perf/scripts/python/exported-sql-viewer.py
Pulled, thanks a lot Arnaldo!
Ingo
prev parent reply other threads:[~2018-10-26 7:25 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-25 11:09 [PATCH 00/37] perf/core improvements and fixes Arnaldo Carvalho de Melo
2018-10-25 11:09 ` [PATCH 01/37] perf record: Encode -k clockid frequency into Perf trace Arnaldo Carvalho de Melo
2018-10-25 11:09 ` [PATCH 02/37] perf annotate: Add Sparc support Arnaldo Carvalho de Melo
2018-10-25 11:09 ` [PATCH 03/37] perf jitdump: " Arnaldo Carvalho de Melo
2018-10-25 11:09 ` [PATCH 04/37] perf symbols: Set PLT entry/header sizes properly on Sparc Arnaldo Carvalho de Melo
2018-10-25 11:09 ` [PATCH 05/37] perf arm64: Fix generate system call table failed with /tmp mounted with noexec Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 06/37] tools lib subcmd: Introduce OPTION_ULONG Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 07/37] perf trace: Introduce --max-events Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 08/37] perf evsel: Introduce per event max_events property Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 09/37] perf evsel: Mark a evsel as disabled when asking the kernel do disable it Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 10/37] perf trace: Drop addr_location refcounts Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 11/37] perf trace: Drop thread refcount in trace__event_handler() Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 12/37] perf stat: Poll for monitored tasks being alive Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 13/37] perf script: Allow extended console debug output Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 14/37] perf script: Flush output stream after events in verbose mode Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 15/37] perf trace: Introduce per-event maximum number of events property Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 16/37] perf scripts python: call-graph-from-sql.py: Use SPDX license identifier Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 17/37] perf scripts python: call-graph-from-sql.py: Provide better default column sizes Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 18/37] perf scripts python: call-graph-from-sql.py: Set a minimum window size Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 19/37] perf scripts python: call-graph-from-sql.py: Change icon Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 20/37] perf scripts python: call-graph-from-sql.py: Make a "Main" function Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 21/37] perf scripts python: call-graph-from-sql.py: Separate the database details into a class Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 22/37] perf scripts python: call-graph-from-sql.py: Add a class for global data Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 23/37] perf scripts python: call-graph-from-sql.py: Remove use of setObjectName() Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 24/37] perf scripts python: call-graph-from-sql.py: Factor out CallGraphModel from TreeModel Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 25/37] perf scripts python: call-graph-from-sql.py: Add data helper functions Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 26/37] perf scripts python: call-graph-from-sql.py: Refactor TreeItem class Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 27/37] perf scripts python: call-graph-from-sql.py: Rename to exported-sql-viewer.py Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 28/37] perf scripts python: exported-sql-viewer.py: Add support for multiple sub-windows Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 29/37] perf scripts python: exported-sql-viewer.py: Add ability to find symbols in the call-graph Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 30/37] perf scripts python: exported-sql-viewer.py: Add ability to shrink / enlarge font Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 31/37] perf scripts python: exported-sql-viewer.py: Add ability to display all the database tables Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 32/37] perf scripts python: exported-sql-viewer.py: Add All branches report Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 33/37] perf script: Add --insn-trace for instruction decoding Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 34/37] perf script: Make itrace script default to all calls Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 35/37] tools script: Add --call-trace and --call-ret-trace Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 36/37] perf script: Implement --graph-function Arnaldo Carvalho de Melo
2018-10-25 11:10 ` [PATCH 37/37] perf script: Support total cycles count Arnaldo Carvalho de Melo
2018-10-26 7:25 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181026072528.GA5782@gmail.com \
--to=mingo@kernel.org \
--cc=acme@kernel.org \
--cc=acme@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=ak@linux.intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=alexey.budankov@linux.intel.com \
--cc=alexis.berlemont@gmail.com \
--cc=brueckner@linux.vnet.ibm.com \
--cc=davem@davemloft.net \
--cc=dsahern@gmail.com \
--cc=dtolnay@gmail.com \
--cc=guohanjun@huawei.com \
--cc=hemant@linux.vnet.ibm.com \
--cc=hongxu.jia@windriver.com \
--cc=huawei.libin@huawei.com \
--cc=jolsa@redhat.com \
--cc=jpoimboe@redhat.com \
--cc=kim.phillips@arm.com \
--cc=leo.yan@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=milian.wolff@kdab.com \
--cc=mpe@ellerman.id.au \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=ravi.bangoria@linux.vnet.ibm.com \
--cc=ruda.moura@gmail.com \
--cc=sboisvert@gydle.com \
--cc=tmricht@linux.vnet.ibm.com \
--cc=wangnan0@huawei.com \
--cc=williams@redhat.com \
--cc=yao.jin@linux.intel.com \
--cc=zhangmengting@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).