lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 17 Nov 2019 20:12:48 +0800
From:   "Jin, Yao" <yao.jin@...ux.intel.com>
To:     Jiri Olsa <jolsa@...hat.com>
Cc:     acme@...nel.org, jolsa@...nel.org, peterz@...radead.org,
        mingo@...hat.com, alexander.shishkin@...ux.intel.com,
        Linux-kernel@...r.kernel.org, ak@...ux.intel.com,
        kan.liang@...el.com, yao.jin@...el.com
Subject: Re: [PATCH v1 2/2] perf report: Jump to symbol source view from total
 cycles view



On 11/15/2019 9:34 PM, Jiri Olsa wrote:
> On Wed, Nov 13, 2019 at 08:48:52AM +0800, Jin Yao wrote:
> 
> SNIP
> 
>> diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h
>> index e8b3122a30a7..5bf122042c01 100644
>> --- a/tools/perf/util/hist.h
>> +++ b/tools/perf/util/hist.h
>> @@ -478,7 +478,8 @@ int res_sample_browse(struct res_sample *res_samples, int num_res,
>>   void res_sample_init(void);
>>   
>>   int block_hists_tui_browse(struct block_hist *bh, struct evsel *evsel,
>> -			   float min_percent);
>> +			   float min_percent, struct perf_env *env,
>> +			   struct annotation_options *annotation_opts);
>>   #else
>>   static inline
>>   int perf_evlist__tui_browse_hists(struct evlist *evlist __maybe_unused,
>> @@ -525,7 +526,9 @@ static inline void res_sample_init(void) {}
>>   
>>   int block_hists_tui_browse(struct block_hist *bh __maybe_unused,
>>   			   struct evsel *evsel __maybe_unused,
>> -			   float min_percent __maybe_unused)
>> +			   float min_percent __maybe_unused,
>> +			   struct perf_env *env __maybe_unused,
>> +			   struct annotation_options *annotation_opts)
> 
> missing __maybe_unused, this breaks no-tui build 'make NO_SLANG=1'
> 
> jirka
> 

Oh, yes, I should add __maybe_unused.

Thanks
Jin Yao

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ