Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for debug generate dump file #922

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
4 changes: 3 additions & 1 deletion common/consumer_table_pops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ for i = n, 1, -3 do
op == 'object_type_get_availability_query' or
op == 'object_type_get_availability_response' or
op == 'stats_capability_query' or
op == 'stats_capability_response' then
op == 'stats_capability_response' or
op == 'dbg_gen_dump' or
op == 'dbg_gen_dumpresponse' then

-- do not modify db entries when spotted those commands, they are used to
-- trigger actions or get data synchronously from database
Expand Down
3 changes: 3 additions & 0 deletions common/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ namespace swss {
#define APP_PFC_PRIORITY_TO_PRIORITY_GROUP_MAP_NAME "PFC_PRIORITY_TO_PRIORITY_GROUP_MAP_TABLE"
#define APP_PFC_PRIORITY_TO_QUEUE_MAP_NAME "MAP_PFC_PRIORITY_TO_QUEUE"

#define APP_DBG_GEN_DUMP_TABLE_NAME "DBG_GEN_DUMP_TABLE"
#define APP_DBG_GEN_DUMP_STATUS_TABLE_NAME "DBG_GEN_DUMP_STATUS_TABLE"

/***** COUNTER DATABASE *****/

#define COUNTERS_PORT_NAME_MAP "COUNTERS_PORT_NAME_MAP"
Expand Down
Loading