mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-01 12:43:33 +00:00
new libosmocore osmo-trx already depends on does support printing thread ID as prefix to all messages (confgiurable through VTY), so there's no use in printing it in osmo-trx unconditionally. Moreover, The type used to represent a thread ID is implementation specific, and may be an opaqe structure, making it unsuitable to be printed by standard means, so in any case we should be better printing system's TID instead. Related: OS#5032 Change-Id: Ie98a21246230c946afc47f4f5b9c6618eefde494
24 lines
357 B
C
24 lines
357 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <osmocom/core/logging.h>
|
|
|
|
extern const struct log_info log_info;
|
|
|
|
/* Debug Areas of the code */
|
|
enum {
|
|
DMAIN,
|
|
DTRXCLK,
|
|
DTRXCTRL,
|
|
DTRXDDL,
|
|
DTRXDUL,
|
|
DDEV,
|
|
DDEVDRV,
|
|
DCTR,
|
|
};
|
|
|
|
#define CLOGCHAN(chan, category, level, fmt, args...) do { \
|
|
LOGP(category, level, "[chan=%zu] " fmt, chan, ##args); \
|
|
} while(0)
|