Skip to content

Commit

Permalink
Addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shripad621git committed Feb 15, 2024
1 parent b2f77b3 commit bf39f12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions config/esp32/components/chip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -913,11 +913,15 @@ menu "CHIP Device Layer"
help
This option enables the system statistics to be sent to the insights cloud.

config INSIGHTS_TRACE_PERMIT_LIST_SIZE
int "Config option to set permitlist size"
config MAX_PERMIT_LIST_SIZE
int "Set permit list size for Insights traces"
range 5 30
depends on ESP_INSIGHTS_ENABLED
default 20
help
Maximum number of group entries that can be included in the permit list for reporting
the traces to insights.

endmenu


Expand Down
2 changes: 1 addition & 1 deletion src/tracing/esp32_trace/esp32_tracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace Tracing {
namespace Insights {
namespace {

constexpr size_t kPermitListMaxSize = CONFIG_INSIGHTS_TRACE_PERMIT_LIST_SIZE;
constexpr size_t kPermitListMaxSize = CONFIG_MAX_PERMIT_LIST_SIZE;
using HashValue = uint32_t;

// Implements a murmurhash with 0 seed.
Expand Down

0 comments on commit bf39f12

Please sign in to comment.