Skip to content

Commit

Permalink
Fix datadir
Browse files Browse the repository at this point in the history
  • Loading branch information
TApplencourt authored Dec 19, 2024
1 parent f3a65b7 commit 2e623f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xprof/xprof.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def enable_events_ze(channel_name, tracing_mode: 'default', profiling: true)
lttng_enable = "lttng enable-event --userspace --session=#{lttng_session_uuid} --channel=#{channel_name}"
case tracing_mode
when 'minimal'
exec("#{lttng_enable} $(cat #{datadir}/babeltrace_zeprofiling_apis.txt)")
exec("#{lttng_enable} $(cat #{DATADIR}/babeltrace_zeprofiling_apis.txt)")
exec("#{lttng_enable} lttng_ust_ze_properties:device_timer")
when 'full'
exec("#{lttng_enable} lttng_ust_ze_build:log*")
Expand Down

0 comments on commit 2e623f0

Please sign in to comment.