Re: [PATCH] util/log: flush TB cache when log level changes

2021-02-01 Thread Alex Bennée
Pavel Dovgalyuk writes: > On 25.01.2021 14:09, Alex Bennée wrote: >> >> Pavel Dovgalyuk writes: >> >>> On 22.01.2021 14:42, Alex Bennée wrote: Pavel Dovgalyuk writes: >#endif > +tb_flush_all(); > + I would call tb_flush(current_cpu) or first_cpu here

Re: [PATCH] util/log: flush TB cache when log level changes

2021-01-31 Thread Pavel Dovgalyuk
On 25.01.2021 14:09, Alex Bennée wrote: Pavel Dovgalyuk writes: On 22.01.2021 14:42, Alex Bennée wrote: Pavel Dovgalyuk writes: Sometimes we need to collect the translation logs starting from some point of the execution. Some TB listings may be missed in this case, when blocks were trans

Re: [PATCH] util/log: flush TB cache when log level changes

2021-01-25 Thread Alex Bennée
Pavel Dovgalyuk writes: > On 22.01.2021 14:42, Alex Bennée wrote: >> >> Pavel Dovgalyuk writes: >> >>> Sometimes we need to collect the translation logs starting >>> from some point of the execution. Some TB listings may >>> be missed in this case, when blocks were translated before. >>> Thi

Re: [PATCH] util/log: flush TB cache when log level changes

2021-01-24 Thread Pavel Dovgalyuk
On 22.01.2021 14:42, Alex Bennée wrote: Pavel Dovgalyuk writes: Sometimes we need to collect the translation logs starting from some point of the execution. Some TB listings may be missed in this case, when blocks were translated before. This patch clears TB cache to allow re-translation of s

Re: [PATCH] util/log: flush TB cache when log level changes

2021-01-22 Thread Philippe Mathieu-Daudé
On 1/22/21 12:42 PM, Alex Bennée wrote: > > Pavel Dovgalyuk writes: > >> Sometimes we need to collect the translation logs starting >> from some point of the execution. Some TB listings may >> be missed in this case, when blocks were translated before. >> This patch clears TB cache to allow re-t

Re: [PATCH] util/log: flush TB cache when log level changes

2021-01-22 Thread Alex Bennée
Pavel Dovgalyuk writes: > Sometimes we need to collect the translation logs starting > from some point of the execution. Some TB listings may > be missed in this case, when blocks were translated before. > This patch clears TB cache to allow re-translation of such > code blocks. > > Signed-off-

Re: [PATCH] util/log: flush TB cache when log level changes

2021-01-22 Thread Pavel Dovgalyuk
On 22.01.2021 13:32, Philippe Mathieu-Daudé wrote: Hi Pavel, On 1/22/21 11:03 AM, Pavel Dovgalyuk wrote: Sometimes we need to collect the translation logs starting from some point of the execution. Some TB listings may be missed in this case, when blocks were translated before. This patch clear

Re: [PATCH] util/log: flush TB cache when log level changes

2021-01-22 Thread Philippe Mathieu-Daudé
Hi Pavel, On 1/22/21 11:03 AM, Pavel Dovgalyuk wrote: > Sometimes we need to collect the translation logs starting > from some point of the execution. Some TB listings may > be missed in this case, when blocks were translated before. > This patch clears TB cache to allow re-translation of such > c

[PATCH] util/log: flush TB cache when log level changes

2021-01-22 Thread Pavel Dovgalyuk
Sometimes we need to collect the translation logs starting from some point of the execution. Some TB listings may be missed in this case, when blocks were translated before. This patch clears TB cache to allow re-translation of such code blocks. Signed-off-by: Pavel Dovgalyuk --- accel/tcg/trans