Even though not being LSB it would be good to use thread id instead of process id in trace, example:
Mar 13 13:04:22.524923 osafamfd [473:src/amf/amfd/imm.cc:0254] << exec
Mar 13 13:04:22.524967 osafamfd [473:src/amf/amfd/imm.cc:0420] << execute: 1
Mar 13 13:04:22.610216 osafamfd [475:src/amf/amfd/timer.cc:0154] >> avd_tmr_exp
Mar 13 13:04:22.610408 osafamfd [475:src/amf/amfd/timer.cc:0175] << avd_tmr_exp
Mar 13 13:04:22.610617 osafamfd [473:src/amf/amfd/main.cc:0783] >> process_event: evt->rcv_evt 14
Mar 13 13:04:22.610678 osafamfd [473:src/amf/amfd/ndfsm.cc:1064] >> avd_tmr_snd_hb_evh: seq_id=1
Mar 13 13:04:22.611663 osafamfd [473:src/amf/amfd/timer.cc:0113] >> avd_stop_tmr: 0
Version 2, process id and thread id
Mar 16 8:16:41.280999 osafamfd [473:473:src/amf/amfd/role.cc:0180] >> initialize_for_assignment: ha_state = 1
Mar 16 8:16:41.281163 osafamfd [473:473:src/amf/amfd/mds.cc:0110] >> avd_mds_init
Mar 16 8:16:41.296216 osafamfd [473:476:src/mds/mds_dt_trans.c:0608] >> mdtm_process_poll_recv_data_tcp
Mar 16 8:16:41.296523 osafamfd [473:476:src/mds/mds_dt_trans.c:0608] >> mdtm_process_poll_recv_data_tcp
Mar 16 8:16:41.296616 osafamfd [473:476:src/mds/mds_dt_trans.c:0608] >> mdtm_process_poll_recv_data_tcp
Mar 16 8:16:41.296702 osafamfd [473:476:src/mds/mds_dt_trans.c:0608] >> mdtm_process_poll_recv_data_tcp
Mar 16 8:16:41.296810 osafamfd [473:473:src/amf/amfd/mds.cc:0138] TR vdest created
Mar 16 8:16:41.298310 osafamfd [473:473:src/amf/amfd/mds.cc:0162] TR mds install vdest
M
changeset: 8702:c713c412a9e8
tag: tip
user: Hans Nordeback hans.nordeback@ericsson.com
date: Thu Mar 16 10:47:53 2017 +0100
summary: base: Improve trace by adding thread id V2 [#2370]
Related
Tickets:
#2370