public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Verbose support in analyze_brprob_spec
@ 2021-12-15  1:58 Xionghu Luo
  2021-12-15 10:34 ` Martin Liška
  0 siblings, 1 reply; 3+ messages in thread
From: Xionghu Luo @ 2021-12-15  1:58 UTC (permalink / raw)
  To: gcc-patches; +Cc: mliska, Xionghu Luo

Also add verbose argument support like analyze_brprob.py

contrib/ChangeLog:

	* analyze_brprob_spec.py: Add verbose argument.
---
 contrib/analyze_brprob_spec.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/analyze_brprob_spec.py b/contrib/analyze_brprob_spec.py
index e621853ba4e..063bd11d99c 100755
--- a/contrib/analyze_brprob_spec.py
+++ b/contrib/analyze_brprob_spec.py
@@ -31,6 +31,7 @@ parser.add_argument('-s', '--sorting', dest = 'sorting',
     choices = ['branches', 'branch-hitrate', 'hitrate', 'coverage', 'name'],
     default = 'branches')
 parser.add_argument('-d', '--def-file', help = 'path to predict.def')
+parser.add_argument('-v', '--verbose', action = 'store_true', help = 'Print verbose informations')
 
 args = parser.parse_args()
 
-- 
2.27.0.90.geebb51ba8c


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Verbose support in analyze_brprob_spec
  2021-12-15  1:58 [PATCH] Verbose support in analyze_brprob_spec Xionghu Luo
@ 2021-12-15 10:34 ` Martin Liška
  2021-12-16  2:14   ` Xionghu Luo
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Liška @ 2021-12-15 10:34 UTC (permalink / raw)
  To: Xionghu Luo, gcc-patches

On 12/15/21 02:58, Xionghu Luo wrote:
> Also add verbose argument support like analyze_brprob.py
> 
> contrib/ChangeLog:
> 
> 	* analyze_brprob_spec.py: Add verbose argument.
> ---
>   contrib/analyze_brprob_spec.py | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/contrib/analyze_brprob_spec.py b/contrib/analyze_brprob_spec.py
> index e621853ba4e..063bd11d99c 100755
> --- a/contrib/analyze_brprob_spec.py
> +++ b/contrib/analyze_brprob_spec.py
> @@ -31,6 +31,7 @@ parser.add_argument('-s', '--sorting', dest = 'sorting',
>       choices = ['branches', 'branch-hitrate', 'hitrate', 'coverage', 'name'],
>       default = 'branches')
>   parser.add_argument('-d', '--def-file', help = 'path to predict.def')
> +parser.add_argument('-v', '--verbose', action = 'store_true', help = 'Print verbose informations')

Hello.

Is the argument properly passes to invocation of analyze_brprob.py script?
If so, then please install the patch.

Cheers,
Martin

>   
>   args = parser.parse_args()
>   



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Verbose support in analyze_brprob_spec
  2021-12-15 10:34 ` Martin Liška
@ 2021-12-16  2:14   ` Xionghu Luo
  0 siblings, 0 replies; 3+ messages in thread
From: Xionghu Luo @ 2021-12-16  2:14 UTC (permalink / raw)
  To: Martin Liška, gcc-patches



On 2021/12/15 18:34, Martin Liška wrote:
> On 12/15/21 02:58, Xionghu Luo wrote:
>> Also add verbose argument support like analyze_brprob.py
>>
>> contrib/ChangeLog:
>>
>>     * analyze_brprob_spec.py: Add verbose argument.
>> ---
>>   contrib/analyze_brprob_spec.py | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/contrib/analyze_brprob_spec.py
>> b/contrib/analyze_brprob_spec.py
>> index e621853ba4e..063bd11d99c 100755
>> --- a/contrib/analyze_brprob_spec.py
>> +++ b/contrib/analyze_brprob_spec.py
>> @@ -31,6 +31,7 @@ parser.add_argument('-s', '--sorting', dest =
>> 'sorting',
>>       choices = ['branches', 'branch-hitrate', 'hitrate', 'coverage',
>> 'name'],
>>       default = 'branches')
>>   parser.add_argument('-d', '--def-file', help = 'path to predict.def')
>> +parser.add_argument('-v', '--verbose', action = 'store_true', help =
>> 'Print verbose informations')
> 
> Hello.
> 
> Is the argument properly passes to invocation of analyze_brprob.py script?
> If so, then please install the patch.

Thanks, installed to r12-6010.

> 
> Cheers,
> Martin
> 
>>     args = parser.parse_args()
>>   
> 
> 

-- 
Thanks,
Xionghu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-16  2:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15  1:58 [PATCH] Verbose support in analyze_brprob_spec Xionghu Luo
2021-12-15 10:34 ` Martin Liška
2021-12-16  2:14   ` Xionghu Luo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).