Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove non events not used by interval #252

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions xprof/xprof.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ def enable_events_ze(channel_name, tracing_mode: 'default', profiling: true)
# https://lttng.org/man/1/lttng-enable-event/v2.8/#doc-_understanding_event_rule_conditions
# Disable-event doesn't have wildcards
# So we enable and disable on the same line
exec("#{lttng_enable} lttng_ust_ze_build:log*")
exec("#{lttng_enable} lttng_ust_ze_profiling:*") if profiling
exec("#{lttng_enable} lttng_ust_zex:*")
exec("#{lttng_enable} lttng_ust_ze_properties:*")
Expand All @@ -474,10 +473,10 @@ def enable_events_cl(channel_name, tracing_mode: 'default', profiling: true)
exec("#{lttng_enable} lttng_ust_opencl_arguments:*")
exec("#{lttng_enable} lttng_ust_opencl_build:infos*")
when 'default'
exec("#{lttng_enable} lttng_ust_opencl_profiling:*") if profiling
exec("#{lttng_enable} lttng_ust_opencl_devices:*")
exec("#{lttng_enable} lttng_ust_opencl_arguments:*")
exec("#{lttng_enable} lttng_ust_opencl_build:infos*")
if profiling
exec("#{lttng_enable} lttng_ust_opencl_profiling:*")
exec("#{lttng_enable} lttng_ust_opencl_arguments:kernel_info")
end
# Wildcard using the * character are supported at the end of tracepoint names.
# https://lttng.org/man/1/lttng-enable-event/v2.8/#doc-_understanding_event_rule_conditions
# Disable-event doesn't have wildcards
Expand Down