Re: [PATCH 20/63] dyndbg: drop premature optimization in ddebug_add_module

2025-02-25 Thread Louis Chauvet
Le 25/01/2025 à 07:45, Jim Cromie a écrit : The class_ct var was added to avoid 2 function calls, but to do this it loops over all the module's debug callsites to determine the count. But it doesn't really help, so remove it. Signed-off-by: Jim Cromie Hi Jim, If you move the other patch e

[PATCH 20/63] dyndbg: drop premature optimization in ddebug_add_module

2025-01-24 Thread Jim Cromie
The class_ct var was added to avoid 2 function calls, but to do this it loops over all the module's debug callsites to determine the count. But it doesn't really help, so remove it. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-)