perfetto: Add the intel data sources to system.cfg.

Now I don't need to remember different perfetto setups depending on which
system I'm profiling.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20658>
This commit is contained in:
Emma Anholt 2023-01-10 10:34:41 -08:00 committed by Marge Bot
parent dbd6031c06
commit 25edfcdb2a

View file

@ -18,6 +18,21 @@ data_sources {
}
}
data_sources {
config {
name: "gpu.counters.i915"
gpu_counter_config {
counter_period_ns: 100000
}
}
}
data_sources {
config {
name: "gpu.renderstages.intel"
}
}
data_sources {
config {
name: "track_event"
@ -96,6 +111,16 @@ data_sources {
}
}
data_sources {
config {
name: "track_event"
track_event_config {
enabled_categories: "mesa.default"
enabled_categories: "mesa.slow"
}
}
}
data_sources {
config {
name: "perfetto.metatrace"