Files
filament/libs/utils/include/utils
Mathias Agopian ca3ff7e08e Use the Perfetto SDK instead of ATRACE
Perfetto has significantly less overhead. The User facing API is
mostly unchanged:

Here are the differences:

- SYSTRACE_ENABLE() does nothing on ANDROID, initializes systraces on darwin.
- SYSTRACE_DISABLE() is removed.
- A new "gltfio" tag is added.
- SYSTRACE_TAG *must* be defined before including `utils/Systrace.h`
- `utils/Systrace.h` should not be used from a public header
- the new SYSTRACE_TAG_DISABLE disables systrace at compile time


For android a data source MUST be created in the perfetto config:

```
data_sources {
  config {
    name: "track_event"
    track_event_config {
      enabled_categories: ["filament", "jobsystem", "gltfio"]
      disabled_categories: "*"
    }
  }
}
```

This can for example be added to AGI's custom/advanced config.

FIXES=[407572663]
2025-04-22 09:31:29 -07:00
..
2025-01-17 17:50:16 -08:00
2025-03-28 15:18:08 -07:00
2024-04-05 17:49:56 -07:00
2025-01-16 10:51:56 -08:00
2021-10-07 20:58:34 -07:00
2024-10-17 14:15:40 -07:00
2025-01-17 17:50:16 -08:00
2025-01-17 17:50:16 -08:00
2025-01-17 17:50:16 -08:00
2022-10-27 22:48:45 -07:00
2025-04-01 11:11:19 -07:00
2022-03-01 10:03:31 -08:00
2021-02-17 10:11:22 -08:00
2024-08-05 10:59:46 -07:00