diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2022-10-03 00:36:50 +0300 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2022-10-09 22:39:53 +0300 |
commit | 091b5b08d44c597739cae7354a603dfa90f41b68 (patch) | |
tree | 235f4553db0f9845f1d34e4f10ef9e5c4707e3ad /src/tool | |
parent | e68adf19bc3b55a76a12a58a5b32d2a341fd78dd (diff) | |
download | mesa-091b5b08d44c597739cae7354a603dfa90f41b68.tar.gz mesa-091b5b08d44c597739cae7354a603dfa90f41b68.tar.bz2 mesa-091b5b08d44c597739cae7354a603dfa90f41b68.zip |
pps: enable track_event in intel.cfg
Take the opportunity to prune some ftraces that are not that useful
and fill the buffer pretty fast.
Record time is bumped to 1.2s
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18930>
Diffstat (limited to 'src/tool')
-rw-r--r-- | src/tool/pps/cfg/intel.cfg | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/src/tool/pps/cfg/intel.cfg b/src/tool/pps/cfg/intel.cfg index 87cd24fd6e5..bb9e2d22dbc 100644 --- a/src/tool/pps/cfg/intel.cfg +++ b/src/tool/pps/cfg/intel.cfg @@ -21,14 +21,6 @@ data_sources { ftrace_events: "dma_fence/dma_fence_emit" ftrace_events: "dma_fence/dma_fence_init" ftrace_events: "dma_fence/dma_fence_wait_end" - ftrace_events: "clock_disable" - ftrace_events: "clock_enable" - ftrace_events: "clock_set_rate" - ftrace_events: "power/cpu_frequency_limits" - ftrace_events: "power/cpu_frequency" - ftrace_events: "power/cpu_idle" - ftrace_events: "raw_syscalls/sys_enter" - ftrace_events: "raw_syscalls/sys_exit" ftrace_events: "cpufreq_interactive_already" ftrace_events: "cpufreq_interactive_boost" ftrace_events: "cpufreq_interactive_notyet" @@ -47,20 +39,6 @@ data_sources { ftrace_events: "sched_wakeup_new" ftrace_events: "sched_wakeup" ftrace_events: "sched_waking" - ftrace_events: "smbus_read" - ftrace_events: "smbus_reply" - ftrace_events: "smbus_result" - ftrace_events: "smbus_write" - ftrace_events: "softirq_entry" - ftrace_events: "softirq_exit" - ftrace_events: "softirq_raise" - ftrace_events: "suspend_resume" - ftrace_events: "workqueue_activate_work" - ftrace_events: "workqueue_execute_end" - ftrace_events: "workqueue_execute_start" - ftrace_events: "workqueue_queue_work" - ftrace_events: "signal_generate" - ftrace_events: "signal_deliver" } } } @@ -80,7 +58,17 @@ data_sources { } } -duration_ms: 250 +data_sources { + config { + name: "track_event" + track_event_config { + enabled_categories: "mesa.default" + enabled_categories: "mesa.slow" + } + } +} + +duration_ms: 1200 write_into_file: true file_write_period_ms: 500 flush_period_ms: 500 |