[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87obfyrqap.fsf@sejong.aot.lge.com>
Date: Wed, 06 Feb 2013 13:59:10 +0900
From: Namhyung Kim <namhyung@...nel.org>
To: Jiri Olsa <jolsa@...hat.com>
Cc: linux-kernel@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...e.hu>, Paul Mackerras <paulus@...ba.org>,
Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@...il.com>
Subject: Re: [PATCH 00/11] perf tool: Add PERF_SAMPLE_READ sample read support
On Mon, 4 Feb 2013 13:32:54 +0100, Jiri Olsa wrote:
> hi,
> adding support to read sample values through the PERF_SAMPLE_READ
> sample type. It's now possible to specify 'S' modifier for an event
> and get its sample value by PERF_SAMPLE_READ.
>
> For group the 'S' modifier will enable sampling only for the leader
> and read all the group member by PERF_SAMPLE_READ smple type with
> PERF_FORMAT_GROUP read format.
>
> This was first introduced in here:
> https://lkml.org/lkml/2012/10/20/75
>
> Example:
>
> $ perf record -e '{cycles,cache-misses}:S' ls
> ...
> $ perf report --group --show-total-period --stdio
> ...
> # Samples: 36 of event 'anon group { cycles, cache-misses }'
> # Event count (approx.): 12585593
> #
> # Overhead Period Command Shared Object Symbol
> # ................ ........................ ....... ................. ..........................
> #
> 19.92% 1.20% 2505936 31 ls [kernel.kallsyms] [k] mark_held_locks
> 13.74% 0.47% 1729327 12 ls [kernel.kallsyms] [k] sched_clock_local
> 13.64% 23.72% 1716147 612 ls ld-2.14.90.so [.] check_match.10805
> 13.12% 23.22% 1650778 599 ls libc-2.14.90.so [.] _nl_intern_locale_data
> 11.24% 29.19% 1414554 753 ls [kernel.kallsyms] [k] sched_clock_cpu
> 8.50% 0.35% 1070150 9 ls [kernel.kallsyms] [k] check_chain_key
> ...
>
>
> The patchset is based on following fix:
> http://lkml.org/lkml/2013/2/4/122
>
> and is available also at:
> git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/linux.git
> perf/group6
For the whole series:
Acked-by: Namhyung Kim <namhyung@...nel.org>
Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists