summaryrefslogtreecommitdiff
path: root/service/src/node_shmdev.c
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2024-03-15 11:53:30 +0800
committersongyanchao <[email protected]>2024-03-15 11:57:27 +0800
commitc15e2714c9d66849bfdea58e280d2e69e464892a (patch)
tree332cf74734e2f1e8c52c497c581428e257db3ac7 /service/src/node_shmdev.c
parent70db25f621a9a9964278884d31b3d6999fbaf4a3 (diff)
🎈 perf(TSG-19602): Simplify trace logging for nodes.v4.6.80-20240315rel-4.6
Simplify trace logging for nodes.
Diffstat (limited to 'service/src/node_shmdev.c')
-rw-r--r--service/src/node_shmdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/src/node_shmdev.c b/service/src/node_shmdev.c
index cf462ff..61dda48 100644
--- a/service/src/node_shmdev.c
+++ b/service/src/node_shmdev.c
@@ -50,7 +50,7 @@ enum packet_direction
static __rte_always_inline void gen_store_trace_info(struct rte_node * node, struct rte_mbuf * mbuf,
struct vdev * shm_dev_desc, enum packet_direction direction)
{
- struct dp_trace_record_meta meta = {.module = node->name};
+ struct dp_trace_record_meta meta = {.appsym = MR_TRACE_APPSYM, .module = node->name};
char str_record[MR_STRING_MAX];
int len = snprintf(str_record, sizeof(str_record), "port:%u,%s", shm_dev_desc->port_id, shm_dev_desc->symbol);