lkml.org 
[lkml]   [2017]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 4/5] perf report: Show branch type statistics for stdio mode
From
Date


On 4/19/2017 2:53 AM, Jiri Olsa wrote:
> On Wed, Apr 12, 2017 at 06:21:05AM +0800, Jin Yao wrote:
>
> SNIP
>
>> +static int hist_iter__branch_callback(struct hist_entry_iter *iter,
>> + struct addr_location *al __maybe_unused,
>> + bool single __maybe_unused,
>> + void *arg)
>> +{
>> + struct hist_entry *he = iter->he;
>> + struct report *rep = arg;
>> + struct branch_info *bi;
>> +
>> + if (sort__mode == SORT_MODE__BRANCH) {
> is this check necessary? the hist_iter__branch_callback
> was set based on this check
>
> jirka

Let me double check.

Thanks
Jin Yao

\
 
 \ /
  Last update: 2017-04-19 02:42    [W:0.081 / U:2.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site