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


Groups > linux.kernel > #1566688

Re: [PATCH 2/2] perf,core: use parent avg sample period as child initial period

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] perf,core: use parent avg sample period as child initial period
Date 2017-01-25 16:40 +0100
Message-ID <t3xPZ-3w9-37@gated-at.bofh.it> (permalink)
References <t14S5-h3-3@gated-at.bofh.it> <t14S5-h3-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jan 18, 2017 at 08:21:02AM -0500, kan.liang@intel.com wrote:
> From: Kan Liang <kan.liang@intel.com>
> 
> perf brings additional overhead when monitoring the task which
> frequently generates child task.
> 
> When inheriting a event from parent task to child task, the
> sample_period of original parent event (parent_event->parent) will be
> assigned to child event as its initial period, which is usually the
> default sample_period 1.


Why is that mostly 1? I would expect the parent event's sample_period to
ramp up as well.

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


Thread

[PATCH 2/2] perf,core: use parent avg sample period as child initial period kan.liang@intel.com - 2017-01-18 21:20 +0100
  Re: [PATCH 2/2] perf,core: use parent avg sample period as child  initial period Peter Zijlstra <peterz@infradead.org> - 2017-01-25 16:40 +0100
    RE: [PATCH 2/2] perf,core: use parent avg sample period as child  initial period "Liang, Kan" <kan.liang@intel.com> - 2017-01-29 18:10 +0100

csiph-web