Skip to content

Commit

Permalink
Enable tracing on linux using a different logic - all linux builds ha…
Browse files Browse the repository at this point in the history
…ve tracing by default
  • Loading branch information
andy31415 committed Jun 8, 2023
1 parent c9ed837 commit 2114451
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 21 deletions.
2 changes: 0 additions & 2 deletions examples/all-clusters-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ chip_system_project_config_include = "<SystemProjectConfig.h>"
chip_project_config_include_dirs =
[ "${chip_root}/examples/all-clusters-app/linux/include" ]
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]

matter_enable_tracing_support = true
2 changes: 0 additions & 2 deletions examples/all-clusters-minimal-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ chip_system_project_config_include = "<SystemProjectConfig.h>"
chip_project_config_include_dirs =
[ "${chip_root}/examples/all-clusters-minimal-app/linux/include" ]
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]

matter_enable_tracing_support = true
2 changes: 0 additions & 2 deletions examples/bridge-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ chip_system_project_config_include = "<SystemProjectConfig.h>"
chip_project_config_include_dirs =
[ "${chip_root}/examples/bridge-app/bridge-common/include" ]
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]

matter_enable_tracing_support = true
2 changes: 0 additions & 2 deletions examples/contact-sensor-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ chip_system_project_config_include = "<SystemProjectConfig.h>"
chip_project_config_include_dirs =
[ "${chip_root}/examples/contact-sensor-app/linux/include" ]
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]

matter_enable_tracing_support = true
2 changes: 0 additions & 2 deletions examples/lighting-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ chip_system_project_config_include = "<SystemProjectConfig.h>"
chip_project_config_include_dirs =
[ "${chip_root}/examples/lighting-app/linux/include" ]
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]

matter_enable_tracing_support = true
2 changes: 0 additions & 2 deletions examples/lock-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ chip_system_project_config_include = "<SystemProjectConfig.h>"
chip_project_config_include_dirs =
[ "${chip_root}/examples/all-clusters-app/linux/include" ]
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]

matter_enable_tracing_support = true
2 changes: 0 additions & 2 deletions examples/ota-provider-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,3 @@ chip_system_project_config_include = "<SystemProjectConfig.h>"
chip_project_config_include_dirs =
[ "${chip_root}/examples/ota-provider-app/linux/include" ]
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]

matter_enable_tracing_support = true
1 change: 0 additions & 1 deletion examples/ota-requestor-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ chip_project_config_include_dirs =
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]

chip_enable_ota_requestor = true
matter_enable_tracing_support = true
1 change: 0 additions & 1 deletion examples/persistent-storage/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@
import("//build_overrides/chip.gni")

import("${chip_root}/config/standalone/args.gni")
matter_enable_tracing_support = true
1 change: 0 additions & 1 deletion examples/placeholder/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ chip_project_config_include = "<CHIPProjectConfig.h>"
chip_project_config_include_dirs =
[ "${chip_root}/examples/placeholder/linux/include" ]
chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ]
matter_enable_tracing_support = true
1 change: 0 additions & 1 deletion examples/thermostat/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@
import("//build_overrides/chip.gni")

import("${chip_root}/config/standalone/args.gni")
matter_enable_tracing_support = true
1 change: 0 additions & 1 deletion examples/tv-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ chip_build_libshell = true
chip_enable_additional_data_advertising = true

chip_enable_rotating_device_id = true
matter_enable_tracing_support = true
1 change: 0 additions & 1 deletion examples/tv-casting-app/linux/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ chip_enable_additional_data_advertising = true
chip_enable_rotating_device_id = true

chip_max_discovered_ip_addresses = 20
matter_enable_tracing_support = true
2 changes: 1 addition & 1 deletion src/tracing/tracing_args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ declare_args() {
# Tracing can have a non-zero size impact to binaries. We try to make
# the impact minimal (the backends themselves add some size), however
# for now tracing is opt-in
matter_enable_tracing_support = false
matter_enable_tracing_support = (target_os == "linux")
}

0 comments on commit 2114451

Please sign in to comment.