Files
openairinterface5g/common/utils/T/DOC/T/multi.md
T
Robert Schmidt 8107939f08 Change OAI license to CSSL v1.0 (and others)
- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
  scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly

For automated changes based on OAI PL v1.1:

    perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
    perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
    perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml

The rest (cmake, files with missing license, cmake) manually.
2026-03-27 16:36:37 +01:00

1.4 KiB

Multiple tracers

To connect several tracers to the same process, first launch the multi tracer.

Run as:

cd common/utils/T/tracer
./multi -d ../T_messages.txt

Then connect other tracers (enb, textlog, to_vcd, etc.) to the multi tracer.

For example (if you debug the lte-softmodem) in one terminal, run:

cd common/utils/T/tracer
./enb -d ../T_messages.txt -p 2022

That will launch the GUI tool to analyze the proper running of the softmodem.

And in another terminal, run:

cd common/utils/T/tracer
./to_vcd -d ../T_messages.txt -p 2022 -vcd -o /tmp/openair_dump_eNB.vcd

That will dump the VCD traces generated by the softmodem to the file /tmp/openair_dump_eNB.vcd.

The multi tracer waits for other tracers to connect to the port 2022. So you pass -p 2022 to a tracer so that it connects to the multi tracer. This port can be changed with the -lp option.

For example to listen to port 4321, run multi as:

./multi -d ../T_messages.txt -lp 4321

Then you would pass -p 4321 to any tracer for it to connect to multi.

As a reminder, to trace lte-softmodem, you run it as:

sudo ./lte-softmodem -O config_file.conf --T_stdout 0

The important part is --T_stdout 0.

The order to launch the various programs (multi, the softmodem, other tracers) is not important.