diff --git a/utils/babeltrace_thapi.in b/utils/babeltrace_thapi.in index e148d5c8..b282430a 100755 --- a/utils/babeltrace_thapi.in +++ b/utils/babeltrace_thapi.in @@ -204,7 +204,7 @@ def get_and_add_components(graph, names, l_inputs) when 'source.ctf.lttng_archive' graph.add(comp, 'source_archive', params: { 'session-name' => $options[:archive], - 'session-found-file-path' => $options[:'session-found-file-path'] }) + 'session-found-file-path' => $options[:'archive-session-found-file-path'] }) when 'source.ctf.fs' s = Find.find(*l_inputs) .reject { |path| FileTest.directory?(path) } @@ -361,7 +361,7 @@ class BabeltraceParserThapi < OptionParserWithDefaultAndValidation default: ['omp:2', 'cl:1', 'ze:1', 'cuda:1', 'hip:1']) on('--debug', default: false) on('--archive SESSION-NAME') - on('--session-found-file-path PATH') + on('--archive-session-found-file-path PATH') on('--[no-]muxer') on('-v', '--version', 'Print the version string') do puts File.read(File.join(DATADIR, 'version')) diff --git a/xprof/xprof.rb.in b/xprof/xprof.rb.in index ec2303ce..33026e3e 100755 --- a/xprof/xprof.rb.in +++ b/xprof/xprof.rb.in @@ -598,7 +598,7 @@ def on_node_processing_babeltrace(backends) if OPTIONS[:archive] read_file = File.join(lttng_trace_dir_tmp, 'bt_archive_ready') - opts << "--archive #{lttng_session_uuid} --session-found-file-path=#{read_file}" + opts << "--archive #{lttng_session_uuid} --archive-session-found-file-path=#{read_file}" cmd = "#{BINDIR}/babeltrace_thapi #{opts.join(' ')} -- #{lttng_trace_dir_tmp}" LOGGER.debug(cmd) pid_bt = spawn(cmd)