Skip to content

Commit

Permalink
Adding filtering support to insights traces.
Browse files Browse the repository at this point in the history
1.Provides add and remove apis to add or remove the traces as per requirement.
2.Filters the required traces and reports it to esp-insights.
  • Loading branch information
shripad621git committed Dec 11, 2023
1 parent 2980e51 commit 1aa8b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/tracing/esp32_trace/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ source_set("esp32_trace_tracing") {
public = [ "include/matter/tracing/macros_impl.h" ]
public_configs = [ ":tracing" ]
deps = [ ":backend" ]

}
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ class Scoped
public:
inline Scoped(const char * label, const char * group) : mLabel(label), mGroup(group) { MATTER_TRACE_BEGIN(label, group); }
inline ~Scoped() { MATTER_TRACE_END(mLabel, mGroup); }

private:
const char * mLabel;
const char * mGroup;
};

} // namespace Insights
} // namespace Tracing
} // namespace chip
Expand Down

0 comments on commit 1aa8b34

Please sign in to comment.