ftrace: Only add dynamic classes on non-custom scopes
Custom scope is supposed to give only the events that are explicitly listed in
events. Therefore, avoid adding dynamic events in this case, to speed up
parsing and avoid consuming memory.
GitLab Maintenance scheduled for Thursday, 18th December 2025, from 7:00 AM to 10:00 AM BST. GitLab will be in read-only mode and experience short periods of complete downtime (up to 20 minutes) during this window.
Custom scope is supposed to give only the events that are explicitly listed in
events. Therefore, avoid adding dynamic events in this case, to speed up
parsing and avoid consuming memory.