Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
11ba404c6b309a4f044be25e739e1d42c952947d
/
src
/
debug.c
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
aeed4a8
REORG: include: move log.h to haproxy/log{,-t}.h
by Willy Tarreau
· Thu Jun 04 22:01:04 2020 +0200
5e539c9
REORG: include: move stream_interface.h to haproxy/stream_interface{,-t}.h
by Willy Tarreau
· Thu Jun 04 20:45:39 2020 +0200
83487a8
REORG: include: move cli.h to haproxy/cli{,-t}.h
by Willy Tarreau
· Thu Jun 04 20:19:54 2020 +0200
3727a8a
REORG: include: move signal.h to haproxy/signal{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:37:26 2020 +0200
cea0e1b
REORG: include: move task.h to haproxy/task{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:25:40 2020 +0200
f268ee8
REORG: include: split global.h into haproxy/global{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:05:57 2020 +0200
8641605
REORG: include: move hlua.h to haproxy/hlua{,-t}.h
by Willy Tarreau
· Thu Jun 04 09:20:54 2020 +0200
0f6ffd6
REORG: include: move fd.h to haproxy/fd{,-t}.h
by Willy Tarreau
· Wed Jun 03 19:33:00 2020 +0200
48fbcae
REORG: tools: split common/standard.h into haproxy/tools{,-t}.h
by Willy Tarreau
· Wed Jun 03 18:09:46 2020 +0200
6131d6a
REORG: include: move common/net_helper.h to haproxy/net_helper.h
by Willy Tarreau
· Tue Jun 02 16:48:09 2020 +0200
3f567e4
REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h
by Willy Tarreau
· Thu May 28 15:29:19 2020 +0200
8dabda7
REORG: include: split buf.h into haproxy/buf-t.h and haproxy/buf.h
by Willy Tarreau
· Wed May 27 17:22:10 2020 +0200
2a83d60
REORG: include: move debug.h from common/ to haproxy/
by Willy Tarreau
· Wed May 27 16:58:08 2020 +0200
eb6f701
REORG: include: move ist.h from common/ to import/
by Willy Tarreau
· Wed May 27 16:21:26 2020 +0200
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· Wed May 27 12:58:42 2020 +0200
f0e5da2
BUG/MINOR: debug: properly use long long instead of long for the thread ID
by Willy Tarreau
· Fri May 01 12:26:03 2020 +0200
ff64d3b
MINOR: threads: export the POSIX thread ID in panic dumps
by Willy Tarreau
· Fri May 01 11:28:49 2020 +0200
de01ea9
MINOR: wdt: Move the definitions of WDTSIG and DEBUGSIG into types/signal.h.
by Olivier Houchard
· Wed Mar 18 13:07:19 2020 +0100
2e8ab6b
MINOR: use DISGUISE() everywhere we deliberately want to ignore a result
by Willy Tarreau
· Sat Mar 14 11:03:20 2020 +0100
6cbe62b
MINOR: debug: add CLI command "debug dev write" to write an arbitrary size
by Willy Tarreau
· Thu Mar 05 17:16:24 2020 +0100
a91b794
MINOR: debug: dump the whole trace if we can't spot the starting point
by Willy Tarreau
· Wed Mar 04 07:39:32 2020 +0100
13faf16
MINOR: debug: improve backtrace() on aarch64 and possibly other systems
by Willy Tarreau
· Wed Mar 04 07:44:06 2020 +0100
cdd8074
MINOR: debug: report the number of entries in the backtrace
by Willy Tarreau
· Wed Mar 04 07:38:23 2020 +0100
0214b45
MINOR: debug: call backtrace() once upon startup
by Willy Tarreau
· Wed Mar 04 06:01:40 2020 +0100
f5b4e06
MEDIUM: debug: add support for dumping backtraces of stuck threads
by Willy Tarreau
· Tue Mar 03 15:40:23 2020 +0100
2e89b09
MINOR: debug: use resolve_sym_name() to dump task handlers
by Willy Tarreau
· Tue Mar 03 17:13:02 2020 +0100
1827845
MINOR: haproxy: export main to ease access from debugger
by Willy Tarreau
· Tue Mar 03 15:25:10 2020 +0100
82aafc4
BUG/MEDIUM: debug: make the debug_handler check for the thread in threads_to_dump
by Willy Tarreau
· Tue Mar 03 08:31:34 2020 +0100
516853f
MINOR: debug: report the task handler's pointer relative to main
by Willy Tarreau
· Tue Mar 03 07:04:42 2020 +0100
a62917b
MEDIUM: tasks: implement 3 different tasklet classes with their own queues
by Willy Tarreau
· Thu Jan 30 18:37:28 2020 +0100
368bff4
MINOR: debug: replace popen() with pipe+fork() in "debug dev exec"
by Willy Tarreau
· Fri Dec 06 17:18:28 2019 +0100
b2fee04
BUG/MEDIUM: debug: address a possible null pointer dereference in "debug dev stream"
by Willy Tarreau
· Fri Oct 25 10:06:55 2019 +0200
9b01370
MINOR: stats/debug: maintain a counter of debug commands issued
by Willy Tarreau
· Thu Oct 24 18:18:02 2019 +0200
b24ab22
MINOR: debug: make most debug CLI commands accessible in expert mode
by Willy Tarreau
· Thu Oct 24 18:03:39 2019 +0200
2b5520d
MINOR: cli/debug: validate addresses using may_access() in "debug dev stream"
by Willy Tarreau
· Thu Oct 24 18:28:23 2019 +0200
68680bb
MINOR: debug: add a new "debug dev stream" command
by Willy Tarreau
· Wed Oct 23 17:23:25 2019 +0200
a92c5ce
BUILD/MEDIUM: threads: rename thread_info struct to ha_thread_info
by David Carlier
· Fri Sep 13 05:03:12 2019 +0100
0691046
MEDIUM: task: Split the tasklet list into two lists.
by Olivier Houchard
· Fri Oct 11 16:35:01 2019 +0200
d022e9c
MINOR: task: introduce a thread-local "sched" variable for local scheduler stuff
by Willy Tarreau
· Tue Sep 24 08:25:15 2019 +0200
ff1e9f3
MEDIUM: tasklets: Make the tasklet list a struct mt_list.
by Olivier Houchard
· Fri Sep 20 17:18:35 2019 +0200
78a7cb6
MEDIUM: debug: make the thread dump code show Lua backtraces
by Willy Tarreau
· Wed Aug 21 14:16:02 2019 +0200
a512b02
MINOR: debug: indicate the applet name when the task is task_run_applet()
by Willy Tarreau
· Wed Aug 21 14:12:19 2019 +0200
9d00869
CLEANUP: cli: replace all occurrences of manual handling of return messages
by Willy Tarreau
· Fri Aug 09 11:21:01 2019 +0200
a37cb18
MINOR: wdt: also consider that waiting in the thread dumper is normal
by Willy Tarreau
· Wed Jul 31 19:20:39 2019 +0200
Next »