MCPcopy Create free account
hub / github.com/acl-dev/acl / http_plugin_debug_memory

Function http_plugin_debug_memory

app/jaws/plugin/cgi/http_plugin.c:50–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void http_plugin_debug_memory(int level)
51{
52 /* �Ƿ���Բ�����ڴ������� */
53
54 switch (level) {
55 case 1:
56 acl_memory_debug_start();
57 acl_memory_debug_stack(1);
58 break;
59 case 2:
60 __dll_env.mmd = acl_debug_malloc_init(__dll_env.mmd,
61 "access_log.txt");
62 break;
63 case 3:
64 __dll_env.mmd = acl_debug_malloc_init(__dll_env.mmd,
65 "access_log.txt");
66 acl_memory_debug_start();
67 acl_memory_debug_stack(1);
68 break;
69 default:
70 break;
71 }
72}

Callers 1

http_conf_loadFunction · 0.70

Calls 3

acl_memory_debug_startFunction · 0.85
acl_memory_debug_stackFunction · 0.85
acl_debug_malloc_initFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…