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.
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.