Re: [PATCH v5 00/16] perf tool: add meta-data header support for pipe-mode

From: David Ahern
Date: Tue Jul 11 2017 - 21:39:21 EST


On 7/11/17 5:52 PM, David Carrillo-Cisneros wrote:
...
> (This is a rebased and updated version of Stephane Eranian's version
> in https://patchwork.kernel.org/patch/1499081/)

...
> With this series, it is possible to get:
> $ perf record -o - -e cycles sleep 1 | perf report --stdio --header
> # ========
> # captured on: Mon May 22 16:33:43 2017
> # ========
> #
> # hostname : my_hostname
> # os release : 4.11.0-dbx-up_perf
> # perf version : 4.11.rc6.g6277c80
> # arch : x86_64
> # nrcpus online : 72
> # nrcpus avail : 72
> # cpudesc : Intel(R) Xeon(R) CPU E5-2696 v3 @ 2.30GHz
> # cpuid : GenuineIntel,6,63,2
> # total memory : 263457192 kB
> # cmdline : /root/perf record -e cycles sleep 1
> # event : name = cycles, , size = 112, { sample_period, sample_freq } = 4000, sample_type = IP|TID|TIME|PERIOD, disabled = 1, inherit = 1, mmap = 1, comm = 1, freq = 1, enable_on_exec = 1, task = 1, sample_id_all = 1, exclude_guest = 1, mmap2 = 1, comm_exec = 1
> # CPU_TOPOLOGY info available, use -I to display
> # NUMA_TOPOLOGY info available, use -I to display
> # pmu mappings: intel_bts = 6, cpu = 4, msr = 49, uncore_cbox_10 = 36, [SNIP]
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.000 MB - ]
> ...

I like it; much needed functionality.

Acked-by: David Ahern <dsahern@xxxxxxxxx>