projects
/
osmocom-bb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9eb601
)
layer23: Added more logging to transaction.c
author
Andreas.Eversberg
<jolly@eversberg.eu>
Sun, 13 Jun 2010 22:35:45 +0000
(22:35 +0000)
committer
Andreas.Eversberg
<jolly@eversberg.eu>
Sun, 13 Jun 2010 22:35:45 +0000
(22:35 +0000)
src/host/layer23/src/transaction.c
patch
|
blob
|
history
diff --git
a/src/host/layer23/src/transaction.c
b/src/host/layer23/src/transaction.c
index
8fca909
..
fbce57b
100644
(file)
--- a/
src/host/layer23/src/transaction.c
+++ b/
src/host/layer23/src/transaction.c
@@
-65,12
+65,14
@@
struct gsm_trans *trans_alloc(struct osmocom_ms *ms,
{
struct gsm_trans *trans;
- DEBUGP(DCC, "ms %s\n", ms->name);
-
trans = talloc_zero(l23_ctx, struct gsm_trans);
if (!trans)
return NULL;
+ DEBUGP(DCC, "ms %s allocetes transaction (proto %d trans_id %d "
+ "callref %d mem %p)\n", ms->name, protocol, trans_id, callref,
+ trans);
+
trans->ms = ms;
trans->protocol = protocol;
@@
-98,6
+100,9
@@
void trans_free(struct gsm_trans *trans)
#endif
}
+ DEBUGP(DCC, "ms %s frees transaction (mem %p)\n", trans->ms->name,
+ trans);
+
llist_del(&trans->entry);
talloc_free(trans);