On 6/14/19 6:53 AM, vandersonmr wrote: > Added -execfreq to enable execution frequency counting and dump > all the TB's addresses and their execution frequency at the end > of the execution. > > Signed-off-by: vandersonmr <vanderson...@gmail.com> > --- > linux-user/exit.c | 5 +++++ > linux-user/main.c | 7 +++++++ > 2 files changed, 12 insertions(+) > > diff --git a/linux-user/exit.c b/linux-user/exit.c > index bdda720553..0c6a2f2d5b 100644 > --- a/linux-user/exit.c > +++ b/linux-user/exit.c > @@ -26,8 +26,13 @@ > extern void __gcov_dump(void); > #endif > > +extern bool enable_freq_count;
A third declaration. r~