[S] Change in osmo-trx[master]: transceiver: use log level cache

2024-05-07 Thread laforge
laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email )

Change subject: transceiver: use log level cache
..

transceiver: use log level cache

This uses the newly added log level caching in libosmocore, which
prevents lock contention during the massive amount of usually disabled
but concurrent (threads) log statements.

Depends: libosmocore.git I539872fc9e3c50b407e6bc388f1e091fa2c826c3
Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
---
M TODO-RELEASE
M Transceiver52M/osmo-trx.cpp
2 files changed, 16 insertions(+), 0 deletions(-)

Approvals:
  fixeria: Looks good to me, but someone else must approve
  Jenkins Builder: Verified
  laforge: Looks good to me, approved




diff --git a/TODO-RELEASE b/TODO-RELEASE
index e69de29..1011784 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -0,0 +1 @@
+libosmocore > 1.9.2  requires log_cache_enable call
diff --git a/Transceiver52M/osmo-trx.cpp b/Transceiver52M/osmo-trx.cpp
index 8f5cc85..c460e98 100644
--- a/Transceiver52M/osmo-trx.cpp
+++ b/Transceiver52M/osmo-trx.cpp
@@ -645,6 +645,7 @@

osmo_init_logging2(tall_trx_ctx, _info);
log_enable_multithread();
+   log_cache_enable();
osmo_stats_init(tall_trx_ctx);
vty_init(_vty_info);
logging_vty_add_cmds();

--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
Gerrit-Change-Number: 36386
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-CC: pespin 
Gerrit-MessageType: merged


[S] Change in osmo-trx[master]: transceiver: use log level cache

2024-05-07 Thread laforge
Attention is currently required from: Hoernchen.

laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email )

Change subject: transceiver: use log level cache
..


Patch Set 3: Code-Review+2


--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
Gerrit-Change-Number: 36386
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-CC: pespin 
Gerrit-Attention: Hoernchen 
Gerrit-Comment-Date: Tue, 07 May 2024 11:51:59 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


[S] Change in osmo-trx[master]: transceiver: use log level cache

2024-05-07 Thread fixeria
Attention is currently required from: Hoernchen, laforge.

fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email )

Change subject: transceiver: use log level cache
..


Patch Set 2: Code-Review+1

(1 comment)

Patchset:

PS1:
> Ack
Done



--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
Gerrit-Change-Number: 36386
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-CC: pespin 
Gerrit-Attention: Hoernchen 
Gerrit-Attention: laforge 
Gerrit-Comment-Date: Tue, 07 May 2024 08:02:59 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: laforge 
Comment-In-Reply-To: fixeria 
Gerrit-MessageType: comment


[S] Change in osmo-trx[master]: transceiver: use log level cache

2024-05-07 Thread Hoernchen
Attention is currently required from: Hoernchen, fixeria, laforge.

Hello Jenkins Builder, fixeria, laforge,

I'd like you to reexamine a change. Please visit

https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email

to look at the new patch set (#2).

The following approvals got outdated and were removed:
Code-Review+1 by fixeria, Code-Review+1 by laforge, Verified+1 by Jenkins 
Builder


Change subject: transceiver: use log level cache
..

transceiver: use log level cache

This uses the newly added log level caching in libosmocore, which
prevents lock contention during the massive amount of usually disabled
but concurrent (threads) log statements.

Depends: libosmocore.git I539872fc9e3c50b407e6bc388f1e091fa2c826c3
Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
---
M TODO-RELEASE
M Transceiver52M/osmo-trx.cpp
2 files changed, 16 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/86/36386/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
Gerrit-Change-Number: 36386
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-CC: pespin 
Gerrit-Attention: Hoernchen 
Gerrit-Attention: laforge 
Gerrit-Attention: fixeria 
Gerrit-MessageType: newpatchset


[S] Change in osmo-trx[master]: transceiver: use log level cache

2024-05-06 Thread laforge
Attention is currently required from: Hoernchen, fixeria.

laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email )

Change subject: transceiver: use log level cache
..


Patch Set 1:

(1 comment)

Patchset:

PS1:
Just a quick reminder on the following pending review comments:
* A small description on what are the consequences of this would be great.
* TODO-RELEASE needs an entry.



--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
Gerrit-Change-Number: 36386
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-CC: pespin 
Gerrit-Attention: Hoernchen 
Gerrit-Attention: fixeria 
Gerrit-Comment-Date: Mon, 06 May 2024 18:54:37 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


[S] Change in osmo-trx[master]: transceiver: use log level cache

2024-03-26 Thread laforge
Attention is currently required from: Hoernchen, fixeria.

laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email )

Change subject: transceiver: use log level cache
..


Patch Set 1: Code-Review+1

(1 comment)

Patchset:

PS1:
> `TODO-RELEASE` needs to be updated I guess?
Ack



--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
Gerrit-Change-Number: 36386
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-CC: pespin 
Gerrit-Attention: Hoernchen 
Gerrit-Attention: fixeria 
Gerrit-Comment-Date: Tue, 26 Mar 2024 08:13:27 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: fixeria 
Gerrit-MessageType: comment


[S] Change in osmo-trx[master]: transceiver: use log level cache

2024-03-25 Thread fixeria
Attention is currently required from: Hoernchen.

fixeria has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email )

Change subject: transceiver: use log level cache
..


Patch Set 1: Code-Review+1

(1 comment)

Patchset:

PS1:
`TODO-RELEASE` needs to be updated I guess?



--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
Gerrit-Change-Number: 36386
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-CC: pespin 
Gerrit-Attention: Hoernchen 
Gerrit-Comment-Date: Mon, 25 Mar 2024 13:33:45 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


[S] Change in osmo-trx[master]: transceiver: use log level cache

2024-03-22 Thread pespin
Attention is currently required from: Hoernchen.

pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email )

Change subject: transceiver: use log level cache
..


Patch Set 1:

(1 comment)

Patchset:

PS1:
A small description on what are the consequences of this would be great.



--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
Gerrit-Change-Number: 36386
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen 
Gerrit-CC: Jenkins Builder
Gerrit-CC: pespin 
Gerrit-Attention: Hoernchen 
Gerrit-Comment-Date: Fri, 22 Mar 2024 10:31:13 +
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment


[S] Change in osmo-trx[master]: transceiver: use log level cache

2024-03-22 Thread Hoernchen
Hoernchen has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email )


Change subject: transceiver: use log level cache
..

transceiver: use log level cache

Depends: libosmocore.git I539872fc9e3c50b407e6bc388f1e091fa2c826c3
Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
---
M Transceiver52M/osmo-trx.cpp
1 file changed, 11 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/86/36386/1

diff --git a/Transceiver52M/osmo-trx.cpp b/Transceiver52M/osmo-trx.cpp
index 8f5cc85..c460e98 100644
--- a/Transceiver52M/osmo-trx.cpp
+++ b/Transceiver52M/osmo-trx.cpp
@@ -645,6 +645,7 @@

osmo_init_logging2(tall_trx_ctx, _info);
log_enable_multithread();
+   log_cache_enable();
osmo_stats_init(tall_trx_ctx);
vty_init(_vty_info);
logging_vty_add_cmds();

--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/36386?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ic9f0e81c89827f2696ce046a3396f041703d6ae5
Gerrit-Change-Number: 36386
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen 
Gerrit-MessageType: newchange