summaryrefslogtreecommitdiff
path: root/service/src/node_shmdev.c
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2024-03-08 11:27:31 +0800
committersongyanchao <[email protected]>2024-03-12 14:58:50 +0800
commit343bb5fe0c0350ba7da4523caf08075d88ca850c (patch)
tree6bc8a240923983bac3265a2069aae7b46f7802f6 /service/src/node_shmdev.c
parent0cd73380b298f791b96347813f512c795d2a2fff (diff)
🎈 perf(TSG-19602): Update 'next' reference to 'next node' in trace information for all nodes.
Update 'next' reference to 'next node' in trace information for all 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 2a6acf0..77c07e4 100644
--- a/service/src/node_shmdev.c
+++ b/service/src/node_shmdev.c
@@ -50,7 +50,7 @@ static __rte_always_inline void gen_store_trace_info_rx(struct rte_node * node,
int len = snprintf(str_record, sizeof(str_record), "port:%u,%s", shm_dev_desc->port_id, shm_dev_desc->symbol);
/* Populate the next node information */
- len += snprintf(str_record + len, sizeof(str_record) - len, ",next:%s", node->nodes[0]->name);
+ len += snprintf(str_record + len, sizeof(str_record) - len, ",next node:%s", node->nodes[0]->name);
/* Emit the trace record */
dp_trace_record_emit_str(sc_main_get()->trace, mbuf, &meta, str_record);