On 6/1/2023 8:01 AM, Richard Henderson wrote: > On 5/30/23 01:35, Fei Wu wrote: >> +/* TBStatistic collection controls */ >> +enum TBStatsStatus { >> + TB_STATS_DISABLED = 0, >> + TB_STATS_RUNNING, >> + TB_STATS_PAUSED, >> + TB_STATS_STOPPED >> +}; > > I don't see what PAUSED or STOPPED actually do. > As far as I can see, stats are either being collected or not: a boolean. > If STOPPED, clean_tbstats() gets called, all the tbstats history is destroyed, but it's not for PAUSED.
Thanks, Fei. > > r~