mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 22:28:41 -04:00
DEBUG: resolvers: unstatify process_resolvers() to make it appear in profiling
The function appears like this in "show profiling tasks", so let's export it: function calls cpu_tot cpu_avg lat_tot lat_avg main+0x1463f0 92 77.28us 839.0ns 2.018ms 21.93us <- wake_expired_tasks@src/task.c:429 task_drop_running
This commit is contained in:
parent
a3423873fe
commit
0fbc16cfb9
1 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ DECLARE_POOL(resolv_requester_pool, "resolv_requester", sizeof(struct resolv_r
|
|||
|
||||
static unsigned int resolution_uuid = 1;
|
||||
unsigned int resolv_failed_resolutions = 0;
|
||||
static struct task *process_resolvers(struct task *t, void *context, unsigned int state);
|
||||
struct task *process_resolvers(struct task *t, void *context, unsigned int state);
|
||||
static void resolv_free_resolution(struct resolv_resolution *resolution);
|
||||
static void _resolv_unlink_resolution(struct resolv_requester *requester);
|
||||
static void enter_resolver_code();
|
||||
|
|
@ -2299,7 +2299,7 @@ static int resolv_process_responses(struct dns_nameserver *ns)
|
|||
* resolutions and retry them if possible. Else a timeout is reported. Then, it
|
||||
* checks the wait list to trigger new resolutions.
|
||||
*/
|
||||
static struct task *process_resolvers(struct task *t, void *context, unsigned int state)
|
||||
struct task *process_resolvers(struct task *t, void *context, unsigned int state)
|
||||
{
|
||||
struct resolvers *resolvers = context;
|
||||
struct resolv_resolution *res, *resback;
|
||||
|
|
|
|||
Loading…
Reference in a new issue