[lkml]   [2011]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/4] perf: fix counter of ftrace events
On Mon, Sep 26, 2011 at 07:55:32PM +0400, Andrew Vagin wrote:
> Each event adds some points to its counters. By default it adds 1,
> and a number of points may be transmited in event's parameters.
> E.g. sched:sched_stat_runtime adds how long process has been running.
> But this functionality was broken by v2.6.31-rc5-392-gf413cdb
> and now the event's parameters doesn't affect on a number of points.
> TP_perf_assign isn't defined, so __perf_count(c) isn't executed and
> __count is always equal to 1.
> Signed-off-by: Andrew Vagin <>

Acked-by: Arun Sharma <>


 \ /
  Last update: 2011-10-14 21:33    [W:0.072 / U:7.548 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site