[roll] Roll fuchsia Revert "[power-manager] Non-CPU temps can be written to the syslog"

This reverts commit d5591867a2fe7e419cad4e524815312d606dcb50.

Reason for revert: As discussed offline, am moving logging to ThermalLoadDriver and am dropping PlatformMetrics approach

Original change's description:
> [power-manager] Non-CPU temps can be written to the syslog
>
> This is a first step for allowing non-CPU temperatures to be published
> to Inspect. It allows a config to specify a set of nodes that should
> have their temperatures published and implements functionality to
> periodically poll them and emit values to logs. There are a few things
> to note:
>
> * new config fields are optional to avoid having to update existing
>   configs and make possibly breaking changes.
> * Buffer capacity can be specified in the config, but is not used in a
>    meaningful way. This is done for similar reasons as 1).
> * The polling interval and buffer capacity apply to all nodes to ensure
>    their data covers equivalent durations.
> * Polling begins immediately because intervals are expected to be long
>    (on the order of 30 seconds).
>
> Original-Bug: 412649068
>
> Tested: fx test src/power/power-manager
> Tested: Manual vim3 test w/ eager power manager and no config changes --
> 	no issues occurred
> Tested: Manual vim3 test w/ eager power manager and the below config
> 	changes.
>
> 	PlatformMetrics config
> ```
>     {
>         type: "PlatformMetrics",
>         name: "platform_metrics",
>         config: {
>             cpu_temperature_poll_interval_s: 1,
>             sensor_temperature_poll_interval_s: 30,
>             sensor_temperature_measurement_buffer_capacity: 360,
>             throttle_debounce_timeout_s: 60,
>         },
>         dependencies: {
>             cpu_temperature_handler_node: "temperature_soc_pll",
>             sensor_temperature_handler_nodes: ["temperature_soc_pll"],
>             crash_report_handler_node: "crash_handler",
>         },
>     },
> ```
>
> 	Power manager logs show temperatures w/o issues.
>
> ```
> [00000.761][02182][02184][power_manager] INFO: started
> [00000.762][02182][02184][power_manager] INFO: Configuration: enable_debug_service=false node_config_path=/config/node_config.json disable_temperature_filter=false
> [00000.767][02182][02184][power_manager] INFO: Creating nodes from config file: /config/node_config.json
> [00000.767][02182][02184][power_manager] INFO: Creating node "sys_shutdown"
> [00000.767][02182][02184][power_manager] INFO: Creating node "crash_handler"
> [00000.767][02182][02184][power_manager] INFO: Creating node "temperature_soc_pll"
> [00000.768][02182][02184][power_manager] INFO: Creating node "platform_metrics"
> [00000.768][02182][02184][power_manager] INFO: Creating node "thermal_state_handler"
> [00000.769][02182][02184][power_manager] INFO: Creating node "thermal_load_driver"
> [00000.769][02182][02184][power_manager] INFO: Initializing nodes
> [00003.639][02182][02184][power_manager] INFO: Setup complete
> [00003.639][02182][02184][power_manager] INFO: Temperature of TemperatureHandler (temperature-sensor-ff634800) is Celsius(66.9000015258789)C. Not yet published to Inspect with a buffer capacity of 360 -- see https://fxbug.dev/412649068 for progress
> [00030.770][02182][02184][power_manager] INFO: Temperature of TemperatureHandler (temperature-sensor-ff634800) is Celsius(75.9000015258789)C. Not yet published to Inspect with a buffer capacity of 360 -- see https://fxbug.dev/412649068 for progress
> [00060.772][02182][02184][power_manager] INFO: Temperature of TemperatureHandler (temperature-sensor-ff634800) is Celsius(76.0999984741211)C. Not yet published to Inspect with a buffer capacity of 360 -- see https://fxbug.dev/412649068 for progress
> ```
>
> Change-Id: Ica4a142b13e27cd09d67636a4c528ed171f8a353
> Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1259526
> Reviewed-by: Hai Bi <bihai@google.com>
> Commit-Queue: Alex Pankhurst <pankhurst@google.com>

Original-Bug: 412649068
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1264950
Original-Revision: 82590c99e3a70ce09e0609a51d2b78ee4d465d09
GitOrigin-RevId: db94e2670bd0f08fcdbc1ddefe5578f460aca5d7
Change-Id: I4d9c9d9c4237499e49328560067be0c83644a85a
1 file changed
tree: d63585a9f32e4a4bb8111547871816af5ead895e
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.