"gpu.counters" config initially missing
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 169
- PR merge metrics
- No merged PRs in 30d
Description
When cleanly installing agi and running the first collection without opening the system profiler preferences, then no counter data is collected.
More specifically in the used configuration, no
```
data_sources {
config {
name: "gpu.counters"
gpu_counter_config {
counter_period_ns: 1000000
counter_ids: 65572
...
```
is present.
This can be validated by dumping the perfetto file with traceconv text, then the used configuration is at the beginning.
To reproduce:
1. delete current configuration. On Linux:
rm ~/.agic
2. Start agi
enter path to adb (note: in my system adb is in the path, but dialog is not picking it up on its own).
3. Use File->Capture Trace
Select System Profile
Wait until connected android device is validated.
Enter application and output path (e.g.
android.intent.action.MAIN:com.google.android.gapid.arm64v8a/com.google.android.gapid.VkSampleActivity
and /tmp)
4. Click OK, later Start
-> collection result shows not the usual counters
( I did actually get some "GPU 0/1 Frequency" counters, but those are different, not sure where those are from, not the usual counters such as "GPU active cycles", ...)
Contributor guide
Assessment
This issue has not been assessed yet.