mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-20 21:31:28 +02:00
DEBUG: stick-tables: export stktable_add_pend_updates() for better reporting
This function is a tasklet handler used to send peers updates, and it can happen quite a bit in "show tasks" and "show profiling tasks", so let's export it so that we don't face a cryptic symbol name: $ socat - /tmp/haproxy-n10.stat <<< "show tasks" Running tasks: 43 (8 threads) function places % lat_tot lat_avg calls_tot calls_avg calls% process_table_expire 16 37.2 1.072m 4.021s 115831 7239 15.4 task_process_applet 15 34.8 1.072m 4.287s 486299 32419 65.0 stktable_add_pend_updates 8 18.6 - - 89725 11215 12.0 sc_conn_io_cb 3 6.9 - - 5007 1669 0.6 process_peer_sync 1 2.3 4.293s 4.293s 50765 50765 6.7 This should be backported to 3.2 as it participates to debugging the table+peers processing overhead.
This commit is contained in:
parent
993c09438b
commit
be86a69fe8
@ -805,7 +805,7 @@ struct stksess *stktable_get_entry(struct stktable *table, struct stktable_key *
|
||||
return ts;
|
||||
}
|
||||
|
||||
static struct task *stktable_add_pend_updates(struct task *t, void *ctx, unsigned int state)
|
||||
struct task *stktable_add_pend_updates(struct task *t, void *ctx, unsigned int state)
|
||||
{
|
||||
struct stktable *table = ctx;
|
||||
struct eb32_node *eb;
|
||||
|
Loading…
x
Reference in New Issue
Block a user