diff options
| author | songyanchao <[email protected]> | 2024-03-15 11:53:30 +0800 |
|---|---|---|
| committer | songyanchao <[email protected]> | 2024-03-15 11:57:27 +0800 |
| commit | c15e2714c9d66849bfdea58e280d2e69e464892a (patch) | |
| tree | 332cf74734e2f1e8c52c497c581428e257db3ac7 /service/src/node_bridge.c | |
| parent | 70db25f621a9a9964278884d31b3d6999fbaf4a3 (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_bridge.c')
| -rw-r--r-- | service/src/node_bridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/src/node_bridge.c b/service/src/node_bridge.c index 69fef22..7086b5c 100644 --- a/service/src/node_bridge.c +++ b/service/src/node_bridge.c @@ -213,7 +213,7 @@ static __rte_always_inline void gen_store_trace_info_original(struct rte_node * uint16_t next_node_index, struct bridge_stats * stats, struct bridge_stats * stats_for_trace) { - struct dp_trace_record_meta meta = {.module = node->name}; + struct dp_trace_record_meta meta = {.appsym = MR_TRACE_APPSYM, .module = node->name}; /* Populate the next node infomation */ char str_record[MR_STRING_MAX]; @@ -254,7 +254,7 @@ static __rte_always_inline void gen_store_trace_info_original(struct rte_node * static __rte_always_inline void gen_store_trace_info_clone(struct rte_node * node, struct rte_mbuf * mbuf, uint16_t next_node_index) { - struct dp_trace_record_meta meta = {.module = node->name}; + struct dp_trace_record_meta meta = {.appsym = MR_TRACE_APPSYM, .module = node->name}; /* Populate the next node infomation */ char str_record[MR_STRING_MAX]; |
