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 --trace-to for python and use it in repl tests #28179

Merged
merged 27 commits into from
Jul 24, 2023
Merged
Changes from 2 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2aec23f
Start adding tracing start/stop functions
andreilitvin Jul 21, 2023
cf46a31
Add raii-like support for tracing
andreilitvin Jul 21, 2023
f0e989c
Add raii-like support for tracing
andreilitvin Jul 21, 2023
c7c5c7a
Fix compile logic
andreilitvin Jul 21, 2023
fef4e99
Switch linux, mac, android to C++17 by default
andreilitvin Jul 21, 2023
49c2c6d
Start outputting trace data
andreilitvin Jul 21, 2023
c240bed
Upload traces that are gathered
andreilitvin Jul 21, 2023
b3f4e93
Fix names
andreilitvin Jul 21, 2023
781b43b
Allow placeholders in script args too
andreilitvin Jul 21, 2023
8201920
Allow from-string tracing
andreilitvin Jul 21, 2023
68c04fe
Do not newline-separate restyle path otherwise only the first argumen…
andreilitvin Jul 21, 2023
d93544d
Merge branch 'restyle_use_xargs' into python_tracing
andreilitvin Jul 21, 2023
bdc5aba
Restyle
andreilitvin Jul 21, 2023
8ff024b
Add some additional types
andreilitvin Jul 21, 2023
cb3e56d
Minor python fixes
andreilitvin Jul 21, 2023
5f09e22
Import ctypes
andreilitvin Jul 21, 2023
1a2a679
Things run now
andreilitvin Jul 21, 2023
06ddca3
Add trace bits to our tests
andreilitvin Jul 21, 2023
1bcb9b4
Undo restyle-diff change
andreilitvin Jul 21, 2023
18412e6
Fix some typos in naming
andreilitvin Jul 21, 2023
8c3d1b3
Add perfetto for darwin too
andreilitvin Jul 21, 2023
5eb3b93
mobile-device-test.py does not suppor trace-to yet
andreilitvin Jul 21, 2023
5fab229
Make mobile device test also be able to trace. Mobile device test see…
andreilitvin Jul 21, 2023
14395d2
Restyled by autopep8
restyled-commits Jul 21, 2023
f2f042a
Restyled by isort
restyled-commits Jul 21, 2023
0f1aeab
Merge branch 'master' into python_tracing
andy31415 Jul 24, 2023
1da8f2b
Merge branch 'master' into python_tracing
andy31415 Jul 24, 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
4 changes: 2 additions & 2 deletions scripts/helpers/restyle-diff.sh
Original file line number Diff line number Diff line change
@@ -35,10 +35,10 @@ cd "$CHIP_ROOT"

restyle-paths() {
if hash restyle-path 2>/dev/null; then
command restyle-path "$@"
echo "$@" | xargs restyle-path
else
url=https://github.com/restyled-io/restyler/raw/main/bin/restyle-path
sh <(curl --location --proto "=https" --tlsv1.2 "$url" -sSf) "$@"
echo "$@" | xargs sh <(curl --location --proto "=https" --tlsv1.2 "$url" -sSf)
fi
}