aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/debug.h
AgeCommit message (Collapse)AuthorFilesLines
2016-03-03add DIUCS debug idNeels Hofmeyr1-0/+1
2016-03-03migrate WIP osmo-iuh hack to use system-installed libosm-ranap.soHarald Welte1-0/+2
this means we no longer try to link to hard-coded files outside of the openbsc.git repository.
2015-11-16Add GTP hub initial code base.Neels Hofmeyr1-0/+1
First steps towards a new GTP hub. The aim is to mux GTP connections, so that multiple SGSN <--> GGSN links can pass through a single point. Background: allow having more than one SGSN, possibly in various remote locations. The recent addition of OAP to GSUP is related to the same background idea. (This is a collapsed patch of various changes that do not make sense to review in chronological order anymore, since a lot of it has thorougly transmorphed after it was first committed.) Sponsored-by: On-Waves ehf
2015-05-03filter: Move from DNAT to DFILTER categoryHolger Hans Peter Freyther1-0/+1
2015-01-02logging: Only compare the subscr addressHolger Hans Peter Freyther1-1/+2
Move the "logging filter imsi IMSI" into the BTS/NITB code to allow to set the gsm_subscriber and only compare it. This way we simply compare the subscriber address and don't have to care if the subscriber data is still valid.
2012-11-21sms: Use the DLSMS instead of the DSMS category throughout our codeHolger Hans Peter Freyther1-1/+0
2012-11-16Initial support of SMPP interface for MT-SMSHarald Welte1-0/+1
2012-06-16libgb: Remove dependency to openbsc/debug.hHarald Welte1-2/+0
2011-08-19src: port openBSC over libosmo-abisopenbsc/0.9.15Pablo Neira Ayuso1-4/+0
This is a big patch that ports openBSC over libosmo-abis. Sorry, the changes that are included here are all dependent of libosmo-abis, splitting them into smaller pieces would leave the repository in some intermediate state, which is not desired. The main changes are: - The directory libabis/ has been removed as it now lives in libosmo-abis. - new configuration file format for nanoBTS and HSL femto, we need to define the virtual e1_line and attach it to the OML link. - all the existing BTS drivers (nanoBTS, hsl femto, Nokia site, BS11 and rbs2000) now use the new libosmo-abis framework. - use r232 input driver available in libosmo-abis for bs11_config. - use ipa_msg_recv instead of old ipaccess_read_msg function. - delete definition of gsm_e1_subslot and input_signal_data. These structures now lives in libosmo-abis. Most of this patch are deletions of libabis/ which has been moved to libosmo-abis. This patch also modifies openBSC to use all the new definitions available in libosmocore and libosmo-abis. In order to do that, we have replaced the following: - DINP, DMI, DMIB and DMUX by their respective DL* correspondences. - SS_GLOBAL by SS_L_GLOBAL - SS_INPUT by SS_L_INPUT - S_GLOBAL_SHUTDOWN by S_L_GLOBAL_SHUTDOWN - SS_INPUT by SS_L_INPUT - S_INP_* by S_L_INP_* sub-signals - E1INP_NODE by L_E1INP_NODE vty node This patch has been tested with: - one nanoBTS - the HSL femto with the examples available under libosmo-abis - BS11 with both dahdi and misdn drivers.
2011-07-19libcommon: Add DCTRL logging destination for libctrl related messagesDaniel Willmann1-0/+1
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso1-2/+2
libosmogsm is a new library that is distributed in the libosmocore. Now, openbsc depends on it. This patch gets openbsc with this change. This patch also rewrites all include path to the new osmocom/[gsm|core] Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2010-06-15nat: Register a debug region for the nat.Holger Hans Peter Freyther1-0/+1
2010-05-25Migrate VTY code to libosmovtyHarald Welte1-3/+0
2010-05-23debug: Make GPRS params non-const to avoid compiler warningHolger Hans Peter Freyther1-2/+2
Make log_set_nsvc_filter, log_set_bvc_filter take a non-const parameter as we are going to assign it to a non-const pointer.
2010-05-17[GPRS] BSSGP: Add VTY for configuration and inpectionHarald Welte1-0/+5
This also includes log filtering based on NSEI/BVCI tuple
2010-05-16VTY: Context-sensitive help for logging related commandsHarald Welte1-0/+1
2010-05-15[GPRS] NS: Allow filtering of log messages by NSVC / NSEIHarald Welte1-0/+9
2010-05-13[GPRS] Add debug sections for LLC and SNDCPHarald Welte1-0/+2
2010-05-11[gprs] Add new 'NS' and 'BSSGP' logging categoriesHarald Welte1-0/+2
2010-05-04Create new 'gprs-sgsn' branch on top of 'gprs-conf'Harald Welte1-0/+1
This branch contains the partial SGSN/GGSN implementation that was originally developed as part of the gprs branch.
2010-03-26move log/debug codebase to libosmocoreHarald Welte1-84/+5
The logging/debugging code is generic enough to move it into libosmocore while keeping OpenBSC specific definitions in openbsc itself. This commit uses the logging support present in libosmocore-0.1.2, you will have to update your library to this version.
2010-02-20split 'libosmocore' from openbsc codebaseHarald Welte1-1/+1
This library is intended to collect all generic/common funcitionality of all Osmocom.org projects, including OpenBSC but also OsmocomBB The library currently includes the following modules: bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer, tlv_parse, linuxlist msgb allocation error debugging had to be temporarily disabled as it depends on 'debug.c' functionality which at the moment remains in OpenBSC
2009-12-28vty: replace'logging level' numeric value with human readable stringHarald Welte (local)1-0/+2
2009-12-24[debug] Introduce DREF debug category for reference countingHarald Welte1-0/+1
2009-12-24Converrt the database later to use DEBUGP/LOGP instead of stderrHarald Welte1-0/+1
2009-12-22Import the new logging architectureHolger Hans Peter Freyther1-30/+99
This is the new logging architecture, including * support for multiuple logging targets like stderr and vty * log levels in addition to categories/subsystems * filtering based on imsi, i.e. only see events for one subscriber * dynamically change log level for each category for each vty
2009-12-17logging: introduce log levels at caller siteHarald Welte1-0/+11
This introduces a new LOGP() macro together with LOGL_* definition to support multiple log levels (severities) throughout the codebase. Please note that the actual logging system does not use them yet, in this patch we simply introduce the new macros at the caller site.
2009-12-17[handover] first functional handover implementationHarald Welte1-0/+2
With this commit, we can successfully hand over a channel from one cell to another cell. We implement asynchronous intra-BSC (but inter-BTS) handover. Changes: * introduce new DHO log category * extend rsl_chan_activate_lchan() with argument for HO reference * introduce actual minimal handover decision making in handover_decision.c * various fixes to bsc_handover_start() in handover_logic.c
2009-11-20[debug] Add a debug area for the MGCP code of On WavesHolger Hans Peter Freyther1-0/+2
2009-11-20[debug] Add a debug area for MSCHolger Hans Peter Freyther1-0/+1
2009-11-20[debug] Add a debug area for SCCPHolger Hans Peter Freyther1-0/+2
2009-10-21[debug] Use gcc attribute to enable printf checkingHolger Hans Peter Freyther1-1/+1
Inform the compiler that the same rules as printf apply to the debugp method. This will check if the arguments match the format string.
2009-08-20[debug] Make the hexdump parameter constHolger Hans Peter Freyther1-1/+1
This way it can be used from values coming TLVP_VAL.
2009-06-27add new DMEAS debug category for measurement reportingHarald Welte1-0/+1
disable it by default
2009-06-10move openbsc into its own subdirectoryHarald Welte1-0/+39