[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v14 05/10] debug: add -d tb_stats to control TBStatistics col
From: |
Wu, Fei |
Subject: |
Re: [PATCH v14 05/10] debug: add -d tb_stats to control TBStatistics collection: |
Date: |
Thu, 1 Jun 2023 14:59:34 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 6/1/2023 9:18 AM, Richard Henderson wrote:
> On 5/30/23 01:35, Fei Wu wrote:
>> From: "Vanderson M. do Rosario" <vandersonmr2@gmail.com>
>>
>> -d tb_stats[[,level=(+all+jit+exec+time)][,dump_limit=<number>]]
>>
>> "dump_limit" is used to limit the number of dumped TBStats in
>> linux-user mode.
>
> Why is user-mode special?
>
Should be an issue in comment, not in code.
>>
>> [all+jit+exec+time] control the profilling level used
>> by the TBStats. Can be used as follow:
>>
>> -d tb_stats
>> -d tb_stats,level=jit+time
>
> Comma is already used to separate different -d options.
> You should not overload that.
>
> "level" doesn't make sense for things that aren't hierarchical.
>
> What's wrong with tb-stats-{all,jit,time,exec}?
>
Let me try.
Thanks,
Fei.
>
> r~
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v14 05/10] debug: add -d tb_stats to control TBStatistics collection:,
Wu, Fei <=