Re: [PATCH v2] tcg: Include "qemu/timer.h" for profile_getclock

2023-03-04 Thread Richard Henderson
On 3/3/23 00:49, Richard W.M. Jones wrote: When CONFIG_PROFILER is set there are various undefined references to profile_getclock. Include the header which defines this function. For example: ../tcg/tcg.c: In function ‘tcg_gen_code’: ../tcg/tcg.c:4905:51: warning: implicit declaration of funct

Re: [PATCH v2] tcg: Include "qemu/timer.h" for profile_getclock

2023-03-03 Thread Philippe Mathieu-Daudé
On 3/3/23 09:49, Richard W.M. Jones wrote: When CONFIG_PROFILER is set there are various undefined references to profile_getclock. Include the header which defines this function. For example: ../tcg/tcg.c: In function ‘tcg_gen_code’: ../tcg/tcg.c:4905:51: warning: implicit declaration of funct

[PATCH v2] tcg: Include "qemu/timer.h" for profile_getclock

2023-03-03 Thread Richard W.M. Jones
When CONFIG_PROFILER is set there are various undefined references to profile_getclock. Include the header which defines this function. For example: ../tcg/tcg.c: In function ‘tcg_gen_code’: ../tcg/tcg.c:4905:51: warning: implicit declaration of function ‘profile_getclock’ [-Wimplicit-function-