lkml.org 
[lkml]   [2008]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/4] trace: profile all if conditionals
From
Date
Steven Rostedt <rostedt@goodmis.org> writes:
>
> Miss means the branch was not taken. Hit means the branch was taken.
> The percent is the percentage the branch was taken.

I'm not sure the results are very useful? What would
you do with it?

It seems like a very special case of gcov, but I think I would
rather have the full thing (patches in -mm I think)

> This adds a significant amount of overhead and should only be used
> by those analyzing their system.

Often this can be also done using CPU performance counters. Might
be a cheaper option.

-Andi

--
ak@linux.intel.com


\
 
 \ /
  Last update: 2008-11-23 20:45    [W:0.174 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site