Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
7866e8e50d13f07c61a36b8d1cd99670f798dfe8
/
src
/
debug.c
9debe0f
BUG/MEDIUM: debug/thread: make the debug handler not wait for !rdv_requests
by Willy Tarreau
· Thu Jan 19 18:52:31 2023 +0100
da89e9b
MINOR: channel/applets: Stop to test CF_WRITE_ERROR flag if CF_SHUTW is enough
by Christopher Faulet
· Wed Jan 04 14:11:10 2023 +0100
b566251
BUG/MINOR: debug: don't mask the TH_FL_STUCK flag before dumping threads
by Willy Tarreau
· Mon Jan 02 08:33:18 2023 +0100
b59e3f6
MINOR: debug: add a balance of alloc - free at the end of the memstats dump
by Willy Tarreau
· Wed Nov 30 17:16:51 2022 +0100
e57fbed
MINOR: debug: support pool filtering on "debug dev memstats"
by Willy Tarreau
· Wed Nov 30 16:42:54 2022 +0100
111c783
MINOR: debug: relax access restrictions on "debug dev hash" and "memstats"
by Willy Tarreau
· Wed Nov 30 17:51:47 2022 +0100
50dd7e9
CLEANUP: anon: clarify the help message on "debug dev hash"
by Willy Tarreau
· Wed Nov 30 17:47:08 2022 +0100
334d091
MINOR: debug: improve error handling on the memstats command parser
by Willy Tarreau
· Wed Nov 30 16:50:48 2022 +0100
54966df
MINOR: anon: store the anonymizing key in the CLI's appctx
by Erwan Le Goas
· Wed Sep 14 17:24:22 2022 +0200
d96d214
CLEANUP: debug: use struct ha_caller for memstat
by Willy Tarreau
· Tue Sep 06 08:05:59 2022 +0200
04e50b3
CLEANUP: task: rename ->call_date to ->wake_date
by Willy Tarreau
· Wed Sep 07 14:49:50 2022 +0200
4a426e2
MINOR: debug/memstats: automatically determine first column size
by Willy Tarreau
· Tue Aug 09 08:51:08 2022 +0200
17200dd
MINOR: debug: also store the function name in struct mem_stats
by Willy Tarreau
· Tue Aug 09 08:40:08 2022 +0200
55c950b
MINOR: debug: store and report the pool's name in struct mem_stats
by Willy Tarreau
· Tue Aug 09 08:15:27 2022 +0200
dadf00e
DEBUG: cli: add a new "debug dev deadlock" expert command
by Willy Tarreau
· Fri Jul 15 08:25:03 2022 +0200
f0c86dd
BUG/MEDIUM: debug: fix parallel thread dumps again
by Willy Tarreau
· Fri Jul 15 13:14:03 2022 +0200
55433f9
BUG/MINOR: debug: enter ha_panic() only once
by Willy Tarreau
· Fri Jul 15 12:48:58 2022 +0200
52f238d
BUG/MEDIUM: cli/threads: make "show threads" more robust on applets
by Willy Tarreau
· Fri Jul 15 12:08:40 2022 +0200
6729726
BUG/MEDIUM: debug: fix possible hang when multiple threads dump at once
by Willy Tarreau
· Wed Jul 13 08:59:39 2022 +0200
89ed89e
BUILD: debug: re-export thread_dump_state
by Willy Tarreau
· Fri Jul 01 21:18:03 2022 +0200
039972b
BUILD: debug: fix build issue on clang with previous commit
by Willy Tarreau
· Fri Jul 01 19:37:42 2022 +0200
00c27b5
MEDIUM: debug: make the thread dumper not rely on a thread mask anymore
by Willy Tarreau
· Fri Jul 01 19:08:56 2022 +0200
1229ef3
MINOR: wdt: do not rely on threads_to_dump anymore
by Willy Tarreau
· Fri Jul 01 17:26:15 2022 +0200
f7afdd9
MINOR: debug: mark oneself harmless while waiting for threads to finish
by Willy Tarreau
· Fri Jul 01 17:19:14 2022 +0200
a2b8ed4
MINOR: thread: add is_thread_harmless() to know if a thread already is harmless
by Willy Tarreau
· Fri Jul 01 17:11:03 2022 +0200
03f9b35
MEDIUM: tinfo: add a dynamic thread-group context
by Willy Tarreau
· Mon Jun 27 16:02:24 2022 +0200
38d0712
MINOR: debug: use ltid_bit in ha_thread_dump()
by Willy Tarreau
· Mon Jun 27 16:13:50 2022 +0200
66ad98a
MINOR: tinfo: add the tgid to the thread_info struct
by Willy Tarreau
· Tue Jun 28 10:49:57 2022 +0200
e7475c8
MEDIUM: tasks/fd: replace sleeping_thread_mask with a TH_FL_SLEEPING flag
by Willy Tarreau
· Mon Jun 20 09:23:24 2022 +0200
bdcd325
MINOR: thread: only use atomic ops to touch the flags
by Willy Tarreau
· Wed Jun 22 09:19:46 2022 +0200
c958c70
MINOR: task: replace global_tasks_mask with a check for tree's emptiness
by Willy Tarreau
· Thu Jun 16 15:59:36 2022 +0200
8e5c53a
MINOR: debug: remove mask support from "debug dev sched"
by Willy Tarreau
· Wed Jun 15 16:32:41 2022 +0200
27061cd
MEDIUM: debug: improve DEBUG_MEM_STATS to also report pool alloc/free
by Willy Tarreau
· Thu Jun 23 10:54:17 2022 +0200
680ed5f
MINOR: task: move profiling bit to per-thread
by Willy Tarreau
· Mon Jun 13 15:59:39 2022 +0200
c12b321
CLEANUP: applet: rename appctx_cs() to appctx_sc()
by Willy Tarreau
· Fri May 27 11:08:15 2022 +0200
475e463
CLEANUP: cli: rename all occurrences of stconn "cs" to "sc"
by Willy Tarreau
· Fri May 27 10:26:46 2022 +0200
cb086c6
REORG: stconn: rename conn_stream.{c,h} to stconn.{c,h}
by Willy Tarreau
· Fri May 27 09:47:12 2022 +0200
5edca2f
REORG: rename cs_utils.h to sc_strm.h
by Willy Tarreau
· Fri May 27 09:25:10 2022 +0200
462b989
CLEANUP: stconn: rename cs_conn_*() to sc_conn_*()
by Willy Tarreau
· Wed May 18 18:06:53 2022 +0200
ea27f48
CLEANUP: stconn: rename cs_{check,strm,strm_task} to sc_strm_*
by Willy Tarreau
· Wed May 18 16:10:52 2022 +0200
40a9c32
CLEANUP: stconn: rename cs_{i,o}{b,c} to sc_{i,o}{b,c}
by Willy Tarreau
· Wed May 18 15:55:18 2022 +0200
d0a06d5
CLEANUP: applet: use applet_put*() everywhere possible
by Willy Tarreau
· Wed May 18 15:07:19 2022 +0200
7cb9e6c
CLEANUP: stream: rename "csf" and "csb" to "scf" and "scb"
by Willy Tarreau
· Tue May 17 19:40:40 2022 +0200
4596fe2
CLEANUP: conn_stream: tree-wide rename to stconn (stream connector)
by Willy Tarreau
· Tue May 17 19:07:51 2022 +0200
0698c80
CLEANUP: applet: remove the unneeded appctx->owner
by Willy Tarreau
· Wed May 11 14:09:57 2022 +0200
aa229cc
MINOR: lua: move the http service context out of appctx.ctx
by Willy Tarreau
· Fri May 06 14:26:10 2022 +0200
e23f33b
MINOR: lua: move the tcp service storage outside of appctx.ctx
by Willy Tarreau
· Fri May 06 14:07:13 2022 +0200
40e952f
CLEANUP: debug/cli: make "debug dev memstats" not use ctx.cli anymore
by Willy Tarreau
· Thu May 05 14:39:51 2022 +0200
e06bbf3
CLEANUP: debug/cli: make "debug dev fd" not use ctx.cli anymore
by Willy Tarreau
· Thu May 05 14:26:28 2022 +0200
7831e02
BUILD: debug: unify the definition of ha_backtrace_to_stderr()
by Willy Tarreau
· Fri May 06 15:16:19 2022 +0200
3824743
CLEANUP: tree-wide: use fd_set_nonblock() and fd_set_cloexec()
by Willy Tarreau
· Tue Apr 26 10:24:14 2022 +0200
6b0a0fb
CLEANUP: tree-wide: Remove any ref to stream-interfaces
by Christopher Faulet
· Mon Apr 04 11:29:28 2022 +0200
582a226
MINOR: conn-stream: Remove the stream-interface from the conn-stream
by Christopher Faulet
· Mon Apr 04 11:25:59 2022 +0200
5e29b76
MEDIUM: stream-int/conn-stream: Move I/O functions to conn-stream
by Christopher Faulet
· Mon Apr 04 08:58:34 2022 +0200
a0bdec3
MEDIUM: stream-int/conn-stream: Move blocking flags from SI to CS
by Christopher Faulet
· Mon Apr 04 07:51:21 2022 +0200
4a7764a
MINOR: stream-int/conn-stream: Move si_cs_io_cb() in the conn-stream scope
by Christopher Faulet
· Fri Apr 01 16:58:52 2022 +0200
62e7574
MEDIUM: stream-int/conn-stream: Move stream-interface state in the conn-stream
by Christopher Faulet
· Thu Mar 31 09:16:34 2022 +0200
ae024ce
MEDIUM: stream-int/stream: Use connect expiration instead of SI expiration
by Christopher Faulet
· Tue Mar 29 19:02:31 2022 +0200
908628c
MEDIUM: tree-wide: Use CS util functions instead of SI ones
by Christopher Faulet
· Fri Mar 25 16:43:49 2022 +0100
fe14af3
BUG/MEDIUM: cli/debug: Properly get the stream-int in all debug I/O handlers
by Christopher Faulet
· Wed Mar 16 09:52:10 2022 +0100
06e66c8
DEBUG: reduce the footprint of BUG_ON() calls
by Willy Tarreau
· Wed Mar 02 15:52:03 2022 +0100
6d3f1e3
DEBUG: rename WARN_ON_ONCE() to CHECK_IF()
by Willy Tarreau
· Mon Feb 28 11:51:23 2022 +0100
4e0a8b1
DEBUG: add a new WARN_ON_ONCE() macro
by Willy Tarreau
· Fri Feb 25 08:55:11 2022 +0100
305cfbd
DBEUG: add a new WARN_ON() macro
by Willy Tarreau
· Fri Feb 25 08:52:39 2022 +0100
5d3c8aa
MINOR: debug: Always access the stream-int via the conn-stream
by Christopher Faulet
· Thu Dec 23 13:38:12 2021 +0100
86e1c33
MEDIUM: applet: Set the conn-stream as appctx owner instead of the stream-int
by Christopher Faulet
· Mon Dec 20 17:09:39 2021 +0100
410942b
BUILD: debug/cli: condition test of O_ASYNC to its existence
by Willy Tarreau
· Tue Jan 25 14:51:53 2022 +0100
5be7c19
DEBUG: cli: add a new "debug dev fd" expert command
by Willy Tarreau
· Mon Jan 24 20:26:09 2022 +0100
6ab7b21
MINOR: debug: add ability to dump loaded shared libraries
by Willy Tarreau
· Tue Dec 28 09:57:10 2021 +0100
a3870b7
MINOR: debug: report the group and thread ID in the thread dumps
by Willy Tarreau
· Mon Sep 13 19:24:47 2021 +0200
a0b9953
REORG: thread/sched: move the thread_info flags to the thread_ctx
by Willy Tarreau
· Thu Sep 30 18:48:37 2021 +0200
45c38e2
REORG: thread/clock: move the clock parts of thread_info to thread_ctx
by Willy Tarreau
· Thu Sep 30 18:28:49 2021 +0200
1a9c922
REORG: thread/sched: move the task_per_thread stuff to thread_ctx
by Willy Tarreau
· Fri Oct 01 11:30:33 2021 +0200
2169498
MINOR: clock: move the clock_ids to clock.c
by Willy Tarreau
· Fri Oct 08 15:09:17 2021 +0200
5554264
REORG: time: move time-keeping code and variables to clock.c
by Willy Tarreau
· Fri Oct 08 09:33:24 2021 +0200
b7fc4c4
BUILD: tree-wide: add missing http_ana.h from many places
by Willy Tarreau
· Wed Oct 06 18:56:42 2021 +0200
b205bfd
CLEANUP: cli/tree-wide: properly re-align the CLI commands' help messages
by Willy Tarreau
· Fri May 07 11:38:37 2021 +0200
48129be
MINOR: debug: add a new "debug dev sym" command in expert mode
by Willy Tarreau
· Tue May 04 18:40:50 2021 +0200
4781b15
CLEANUP: atomic/tree-wide: replace single increments/decrements with inc/dec
by Willy Tarreau
· Tue Apr 06 13:53:36 2021 +0200
cc2c4f8
BUG/MEDIUM: debug/lua: Use internal hlua function to dump the lua traceback
by Christopher Faulet
· Wed Mar 24 14:52:24 2021 +0100
83926a0
BUG/MEDIUM: debug/lua: Don't dump the lua stack if not dumpable
by Christopher Faulet
· Fri Mar 19 15:41:08 2021 +0100
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· Tue Mar 02 16:09:26 2021 +0100
06e69b5
REORG: tools: promote the debug PRNG to more general use as a statistical one
by Willy Tarreau
· Tue Mar 02 14:01:35 2021 +0100
1f3b141
CLEANUP: tasks: use a less confusing name for task_list_size
by Willy Tarreau
· Wed Feb 24 14:13:40 2021 +0100
9c7b808
MEDIUM: task: remove the tasks_run_queue counter and have one per thread
by Willy Tarreau
· Wed Feb 24 15:10:07 2021 +0100
2cbe2e7
BUILD: debug: fix build warning by consuming the write() result
by Willy Tarreau
· Fri Jan 22 15:58:26 2021 +0100
2bfce7e
MINOR: debug: let ha_dump_backtrace() dump a bit further for some callers
by Willy Tarreau
· Fri Jan 22 14:48:34 2021 +0100
5baf4fe
MEDIUM: debug: now always print a backtrace on CRASH_NOW() and friends
by Willy Tarreau
· Fri Jan 22 14:15:46 2021 +0100
a8459b2
MINOR: debug: create ha_backtrace_to_stderr() to dump an instant backtrace
by Willy Tarreau
· Fri Jan 22 14:12:27 2021 +0100
123fc97
MINOR: debug: extract the backtrace dumping code to its own function
by Willy Tarreau
· Fri Jan 22 13:52:41 2021 +0100
2f1227e
MINOR: debug: always export the my_backtrace function
by Willy Tarreau
· Fri Jan 22 12:12:29 2021 +0100
c7ead07
CLEANUP: debug: mark the RNG's seed as unsigned
by Willy Tarreau
· Fri Dec 18 16:26:36 2020 +0100
8a069eb
MINOR: debug: add a trivial PRNG for scheduler stress-tests
by Willy Tarreau
· Mon Nov 30 16:17:33 2020 +0100
a5a4479
MINOR: debug: add "debug dev sched" to stress the scheduler.
by Willy Tarreau
· Sun Nov 29 17:12:15 2020 +0100
fc633b6
CLEANUP: config: Return ERR_NONE from config callbacks instead of 0
by Christopher Faulet
· Fri Nov 06 15:24:23 2020 +0100
471425f
BUG/MINOR: debug: Don't dump the lua stack if it is not initialized
by Christopher Faulet
· Fri Jul 24 19:08:05 2020 +0200
0c439d8
BUILD: tools: make resolve_sym_name() return a const
by Willy Tarreau
· Sun Jul 05 20:26:04 2020 +0200
a6026a0
MINOR: debug: add a new "debug dev memstats" command
by Willy Tarreau
· Thu Jul 02 09:14:48 2020 +0200
59153fe
MINOR: tasks: make run_tasks_from_lists() scan the queues itself
by Willy Tarreau
· Wed Jun 24 10:17:29 2020 +0200
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
Next »