Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0afb1704 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

Merge tag 'perf-core-for-mingo' of...

Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux

 into perf/core

Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:

New user selectable features:

  - Support recording running/enabled time in 'perf record' (Andi Kleen)

  - New tool: 'perf data' for converting perf.data to other formats,
    initially for the CTF (Common Trace Format) from LTTng (Jiri Olsa, Sebastian Siewior)

User visible changes:

  - Only insert blank duration bracket when tracing syscalls in 'perf trace' (Arnaldo Carvalho de Melo)

  - Filter out the trace pid when no threads are specified in 'perf trace' (Arnaldo Carvalho de Melo)

  - Add 'perf trace' man page entry for --event (Arnaldo Carvalho de Melo)

  - Dump stack on segfaults in 'perf trace' (Arnaldo Carvalho de Melo)

Infrastructure changes:

  - Introduce set_filter_pid and set_filter_pids methods in the evlist class (Arnaldo Carvalho de Melo)

  - Some perf_session untanglement patches, removing the need to pass a
    perf_session instance for things that are related to evlists, so that
    tools that don't deal with perf.data files like trace in live mode can
    make use of the ordered_events class (Arnaldo Carvalho de Melo)

Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parents e9e4e443 54cf776a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ perf-y += builtin-lock.o
perf-y += builtin-kvm.o
perf-y += builtin-inject.o
perf-y += builtin-mem.o
perf-y += builtin-data.o

perf-$(CONFIG_AUDIT) += builtin-trace.o
perf-$(CONFIG_LIBELF) += builtin-probe.o
+40 −0
Original line number Diff line number Diff line
perf-data(1)
==============

NAME
----
perf-data - Data file related processing

SYNOPSIS
--------
[verse]
'perf data' [<common options>] <command> [<options>]",

DESCRIPTION
-----------
Data file related processing.

COMMANDS
--------
convert::
	Converts perf data file into another format (only CTF [1] format is support by now).
	It's possible to set data-convert debug variable to get debug messages from conversion,
	like:
	  perf --debug data-convert data convert ...

OPTIONS for 'convert'
---------------------
--to-ctf::
	Triggers the CTF conversion, specify the path of CTF data directory.

-i::
	Specify input perf data file path.

-v::
--verbose::
        Be more verbose (show counter open errors, etc).

SEE ALSO
--------
linkperf:perf[1]
[1] Common Trace Format - http://www.efficios.com/ctf
+3 −0
Original line number Diff line number Diff line
@@ -241,6 +241,9 @@ Capture machine state (registers) at interrupt, i.e., on counter overflows for
each sample. List of captured registers depends on the architecture. This option
is off by default.

--running-time::
Record running and enabled time for read events (:S)

SEE ALSO
--------
linkperf:perf-stat[1], linkperf:perf-list[1]
+6 −0
Original line number Diff line number Diff line
@@ -55,6 +55,9 @@ OPTIONS
--uid=::
        Record events in threads owned by uid. Name or number.

--filter-pids=::
	Filter out events for these pids and for 'trace' itself (comma separated list).

-v::
--verbose=::
        Verbosity level.
@@ -115,6 +118,9 @@ the thread executes on the designated CPUs. Default is to monitor all CPUs.
--syscalls::
	Trace system calls. This options is enabled by default.

--event::
	Trace other events, see 'perf list' for a complete list.

PAGEFAULTS
----------

+6 −1
Original line number Diff line number Diff line
@@ -13,11 +13,16 @@ SYNOPSIS
OPTIONS
-------
--debug::
	Setup debug variable (just verbose for now) in value
	Setup debug variable (see list below) in value
	range (0, 10). Use like:
	  --debug verbose   # sets verbose = 1
	  --debug verbose=2 # sets verbose = 2

	List of debug variables allowed to set:
	  verbose          - general debug messages
	  ordered-events   - ordered events object debug messages
	  data-convert     - data convert command debug messages

--buildid-dir::
	Setup buildid cache directory. It has higher priority than
	buildid.dir config file option.
Loading