1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#pragma once
#include <stdio.h>
#include <osmocom/core/linuxlist.h>
#define DEBUG
#include <osmocom/core/logging.h>
/* Debug Areas of the code */
enum {
DRLL,
DMM,
DRR,
DRSL,
DNM,
DPAG,
DMEAS,
DMSC,
DHO,
DHODEC,
DREF,
DCTRL,
DFILTER,
DPCU,
DLCLS,
DCHAN,
DTS,
DAS,
DCBS,
Debug_LastEntry,
};
#define LOG_BTS(bts, subsys, level, fmt, args...) \
LOGP(subsys, level, "(bts=%d) " fmt, (bts)->nr, ## args)
#define LOG_TRX(trx, subsys, level, fmt, args...) \
LOGP(subsys, level, "(bts=%d,trx=%d) " fmt, (trx)->bts->nr, (trx)->nr, ## args)
|