RE: (2) [PATCH] vmscan: add trace events for lru_gen

2023-09-21 Thread 김재원
>> Great. Thank you for your comment. >> >> For the putting the struct scan_control *sc inside the trace, >> I couldn't do that because struct scan_control is defined in mm/vmscan.c. >> I think I should not move it to a seperate header file. > >Well if you ever decide to do so, one thing to do is

Re: (2) [PATCH] vmscan: add trace events for lru_gen

2023-09-20 Thread Steven Rostedt
On Wed, 20 Sep 2023 16:49:48 +0900 김재원 wrote: > Great. Thank you for your comment. > > For the putting the struct scan_control *sc inside the trace, > I couldn't do that because struct scan_control is defined in mm/vmscan.c. > I think I should not move it to a seperate header file. Well if you

RE:(2) [PATCH] vmscan: add trace events for lru_gen

2023-09-20 Thread 김재원
>On Tue, 19 Sep 2023 11:52:16 +0900 >Jaewon Kim wrote: > >> /* >> * Now redefine the EM() and EMe() macros to map the enums to the strings >> diff --git a/include/trace/events/vmscan.h b/include/trace/events/vmscan.h >> index d2123dd960d5..e8f9d0452e89 100644 >> --- a/include/trace/events/vmsca