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

Create a JSON Log tracing backend #27135

Merged
merged 63 commits into from
Jun 8, 2023
Merged
Changes from 2 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
1ad6157
Start a backend implementation, empty for now
andy31415 Jun 7, 2023
e57b5d1
Add jsonpp support
andy31415 Jun 7, 2023
fff0931
Allow sstream and string usage in the log tracing library
andy31415 Jun 7, 2023
b64a239
remove unneeded log line
andy31415 Jun 7, 2023
3b968cd
Restyle
andy31415 Jun 7, 2023
1661542
Make matter tracing opt-in by default. Will enable it for chip-tool a…
andy31415 Jun 7, 2023
cc74f65
make things compile, add dependency into chip-command
andy31415 Jun 7, 2023
3971a93
Enable tracing for CHIPTool
andy31415 Jun 7, 2023
e29efaf
Ensure uniqueness
andy31415 Jun 7, 2023
7c0eef1
Restyle
andy31415 Jun 7, 2023
dfbd6a0
Merge branch 'master' into start_log_json_trace_backend
andy31415 Jun 7, 2023
1e172ad
Add a few more comments
andy31415 Jun 7, 2023
a27d4f0
Add MATTER_TRACE_EVENT_SCOPE everywhere.
andy31415 Jun 7, 2023
b10e73a
Add tracing/scope.h include to have access to MATTER_TRACE_SCOPE
andy31415 Jun 7, 2023
8a78c52
Switch addressresolve to use matter tracing instead of tracevent (ins…
andy31415 Jun 7, 2023
3585d19
Switch out and add incremental resolve record parse
andy31415 Jun 7, 2023
61ae7c6
Restyle
andy31415 Jun 7, 2023
3c54da6
Make chip-tool compile. Still need to fix device apps
andy31415 Jun 7, 2023
36c2177
Fix compilation with tracing disabled
andy31415 Jun 7, 2023
3df86b7
Enable tracing by defaulf for a lot of example apps
andy31415 Jun 7, 2023
cf14b03
Add some dependencies to tracing
andy31415 Jun 7, 2023
61d29de
Make sure no unused member error
andy31415 Jun 7, 2023
d9b9e1f
Another update for tracing disabled
andy31415 Jun 7, 2023
4d17050
Restyle
andy31415 Jun 7, 2023
717958e
Scope the macros a bit more
andy31415 Jun 7, 2023
9970ea7
Restyle
andy31415 Jun 7, 2023
5f3c1a9
Only build tracing tests if tracing is enabled on the platform
andy31415 Jun 8, 2023
594b2a1
Restyle
andy31415 Jun 8, 2023
4a258ff
Enable tracing on linux using a different logic - all linux builds ha…
andy31415 Jun 8, 2023
d46620a
Restyle
andy31415 Jun 8, 2023
ee82e9b
Fix check_includes_config
andy31415 Jun 8, 2023
f055777
Add a string splitter class
andreilitvin Jun 8, 2023
f7be66a
Merge branch 'master' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
e8e97b2
Merge branch 'string_splitter' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
0aafd3b
Switch to use the support string splitter class
andreilitvin Jun 8, 2023
da6cf61
Use standard command argument handling for CSV string vector
andreilitvin Jun 8, 2023
14beffb
Support optional string vector arguments
andreilitvin Jun 8, 2023
66e3271
Fix typo
andreilitvin Jun 8, 2023
c41a3f1
Do not fail on stringop-truncation in tests
andreilitvin Jun 8, 2023
c4dbb5c
Merge branch 'string_splitter' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
1e78cf6
Fix initialization of mData for null cases for stringsplitter
andreilitvin Jun 8, 2023
23e6ae8
Merge branch 'string_splitter' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
7be1d55
Restyled by clang-format
restyled-commits Jun 8, 2023
2655ee0
Merge branch 'string_splitter' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
9c9ed81
Add more unit tests and ensure final empty element is emitted
andreilitvin Jun 8, 2023
71b704a
Restyled by clang-format
restyled-commits Jun 8, 2023
158ee14
Merge branch 'string_splitter' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
03cc684
separator should be const
andreilitvin Jun 8, 2023
3b9ce3b
Merge branch 'string_splitter' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
3ced41d
Merge branch 'master' into string_splitter
andreilitvin Jun 8, 2023
bf8ef15
Restyled by clang-format
restyled-commits Jun 8, 2023
a8179ab
Merge branch 'master' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
b3ab8c2
Review comment: use char span
andreilitvin Jun 8, 2023
6614889
Merge branch 'string_splitter' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
9f109bd
Use char span for string splitting
andreilitvin Jun 8, 2023
a9aa2d5
Restyled by clang-format
restyled-commits Jun 8, 2023
493d1a1
Merge branch 'string_splitter' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
6579f80
Restyled by clang-format
restyled-commits Jun 8, 2023
1523a44
Force a static cast for size compares
andreilitvin Jun 8, 2023
5ef211e
Merge branch 'string_splitter' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
6ecee02
make linter happy
andreilitvin Jun 8, 2023
9ae18f7
Restyled by clang-format
restyled-commits Jun 8, 2023
d467ad3
Merge branch 'master' into start_log_json_trace_backend
andreilitvin Jun 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/support/StringSplitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class StringSplitter

protected:
char * mNext; // next element to return by calling Next()
char mSeparator;
const char mSeparator;
};

/// A string splitter that works on a copy of the given string
Expand Down