[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: |
Richard Henderson |
Subject: |
Re: [PATCH v14 05/10] debug: add -d tb_stats to control TBStatistics collection: |
Date: |
Wed, 31 May 2023 18:18:01 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
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?
[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}?
r~
- Re: [PATCH v14 02/10] accel/tcg: introduce TBStatistics structure, (continued)
- [PATCH v14 03/10] accel: collecting TB execution count, Fei Wu, 2023/05/30
- [PATCH v14 04/10] accel/tcg: add jit stats and time to TBStatistics, Fei Wu, 2023/05/30
- [PATCH v14 06/10] monitor: adding tb_stats hmp command, Fei Wu, 2023/05/30
- [PATCH v14 05/10] debug: add -d tb_stats to control TBStatistics collection:, Fei Wu, 2023/05/30
- Re: [PATCH v14 05/10] debug: add -d tb_stats to control TBStatistics collection:,
Richard Henderson <=
- [PATCH v14 09/10] tb-stats: dump hot TBs at the end of the execution, Fei Wu, 2023/05/30
- [PATCH v14 07/10] tb-stats: reset the tracked TBs on a tb_flush, Fei Wu, 2023/05/30
- [PATCH v14 10/10] docs: add tb-stats how to, Fei Wu, 2023/05/30
- [PATCH v14 08/10] Adding info [tb-list|tb] commands to HMP (WIP), Fei Wu, 2023/05/30