On Fri, 13 Dec 2019 11:47:03 -0500 Sean Paul <sean@xxxxxxxxxx> wrote: > > Why is there a separate trace event for each of these? > > > > To make it easier on userspace to enable just a single drm category. > But trace events can easily be filtered. Say you have a field called category, you could then just set in the trace event filter: echo 'category == 1 || category == 5 || (category > 8 && category < 12)' > /sys/kernel/tracing/drm_print/drm_category_log/filter echo 1 > /sys/kernel/tracing/drm_print/drm_category_log/enable -- Steve _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel