1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/libctdb
Rusty Russell b0a8fd19ff libctdb: test: improve logging of failure paths
We include the file and line which called the functions, so the printed
failure path now looks like:

	[malloc(ctdb.c:144)]:1:S[socket(ctdb.c:168)]:1:S...

The form is:
    [ <function> ( <caller> ) ] : <input line> : <result>

<function> is the function which is called (eg. malloc).
<caller> is the file and line number which called <function>.
<input line> is the 1-based line number in the input which we were up to.
<result> is 'S' (success) or 'F' (failure).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>


(This used to be ctdb commit 5fb6da30b5b5a8b761c8ab9a8124b87b759ef055)
2010-06-21 14:57:11 +09:30
..
test libctdb: test: improve logging of failure paths 2010-06-21 14:57:11 +09:30
control.c libctdb: use bool in API 2010-06-04 20:19:25 +09:30
ctdb.c libctdb: implement synchronous readrecordlock interface. 2010-06-21 14:47:34 +09:30
io_elem.c libctdb: fix io_elem resource leak on realloc failure. 2010-06-18 15:48:48 +09:30
io_elem.h libctdb: uniform callbacks, _recv functions to pull out data. 2010-05-24 13:17:36 +09:30
libctdb_private.h libctdb: connect TDB logging to our logging 2010-06-08 18:09:42 +09:30
local_tdb.c libctdb: fix writerecord() to actually write the record. 2010-06-21 14:45:37 +09:30
local_tdb.h libctdb: first cut, supports getrecmaster only 2010-05-21 12:07:41 +09:30
logging.c libctdb: connect TDB logging to our logging 2010-06-08 18:09:42 +09:30
messages.c libctdb: implement ctdb_disconnect and ctdb_detachdb 2010-06-18 15:35:52 +09:30
messages.h libctdb: implement ctdb_disconnect and ctdb_detachdb 2010-06-18 15:35:52 +09:30
sync.c libctdb: implement synchronous readrecordlock interface. 2010-06-21 14:47:34 +09:30
TODO libctdb: documentation 2010-06-04 20:30:08 +09:30
tst.c libctdb: more bool conversion, and accompany lock by ctdb_db in API 2010-06-08 17:11:40 +09:30