Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1163697

Re: [RFC PATCH] perf: Add PERF_RECORD_SWITCH to indicate context switches

From David Ahern <dsahern@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] perf: Add PERF_RECORD_SWITCH to indicate context switches
Date 2015-06-12 02:50 +0200
Message-ID <pAlkt-5Og-1@gated-at.bofh.it> (permalink)
References <pzt0M-1dG-51@gated-at.bofh.it> <pAbuP-8aB-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 6/11/15 8:15 AM, Peter Zijlstra wrote:
>> This new PERF_RECORD_SWITCH event does not have those problems
>> and it also has a couple of other small advantages. It is
>> easier to use because it is an auxiliary event (like mmap,
>> comm and task events) which can be enabled by setting a single
>> bit. It is smaller than sched:sched_switch and easier to parse.
>
> Right, so the one wee problem I have is that this only provides sched_in
> data, I imagine people might be interested in sched_out as well.

Yes and with the option of collecting callchains for sched_out.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC PATCH] perf: Add PERF_RECORD_SWITCH to indicate context  switches David Ahern <dsahern@gmail.com> - 2015-06-12 02:50 +0200

csiph-web