Commit af6d0a73 authored by Thomas Applencourt's avatar Thomas Applencourt
Browse files

Add profiling_normal_command_queue_created_in_other_thread.yaml interval

parent b8a305ac
Pipeline #13053 canceled with stage
......@@ -247,7 +247,8 @@ libCLInterval_la_LDFLAGS = $(BABELTRACE2_LIBS) -avoid-version -module
#https://www.gnu.org/software/make/manual/html_node/Static-Usage.html
INTERVAL_DUST_FILES = \
tests/interval_profiling_normal_command_queue.dust
tests/interval_profiling_normal_command_queue.dust \
tests/interval_profiling_normal_command_queue_created_in_other_thread.dust
$(INTERVAL_DUST_FILES): tests/interval_%.dust: tests/interval.dust.erb
$(ERB) namespace="$@" $(srcdir)/tests/interval.dust.erb > $@
......
......@@ -135,7 +135,7 @@ l_test_d = [
"device_id_result" => [ [ ['"aurora12.gov"',-1,2,0,10,'"clEnqueueWriteBuffer"'], 20] ]
},
{"name" => "profiling_normal_command_queue_created_in_other_thread",
"device_id_result" => [ [ ['"aurora12.gov"',-1,2,0,10,'"clEnqueueReadBuffer"'], 10] ]
"device_id_result" => [ [ ['"aurora12.gov"',0,1,0,0,'"clEnqueueReadBuffer"'], 10] ]
},
{"name" => "device_name",
"device_to_name" => [ [ ['"aurora12.gov"', 11, 22], '"PVC"'] ]
......
......@@ -15,28 +15,17 @@
- :name: stream0
:class: cl_stream_class
:common_context:
vpid: -1
vtid: 2
vtid: 1
:events:
- :name: lttng_ust_opencl:clCreateCommandQueue_entry
:payload:
device: 10
:common_context:
vtid: 3
vtid: 0
- :name: lttng_ust_opencl:clCreateCommandQueue_exit
:payload:
command_queue: 23
:common_context:
vtid: 3
vtid: 0
- :name: lttng_ust_opencl:clEnqueueReadBuffer_entry
:payload:
command_queue: 23
- :name: lttng_ust_opencl_profiling:event_profiling
:payload:
event: 12
- :name: lttng_ust_opencl:clEnqueueReadBuffer_exit
- :name: lttng_ust_opencl_profiling:event_profiling_results
:payload:
event: 12
start: 0
end: 10
......@@ -223,7 +223,6 @@ class Dust
trace = params.get_entry_value('trace') ? params.get_entry_value('trace').value : @trace
schemas = params.get_entry_value('schemas') ? params.get_entry_value('schemas').value : @schemas
@in_data = YAML.load_file(find_file_in_envfolder(ENV['DUST_TRACE_DIR'],trace))
pp @in_data[:stream_classes]
@schemas = schemas.map do |path|
schema = YAML.load_file(find_file_in_envfolder(ENV['DUST_MODELS_DIR'],path))
[schema[:name], schema]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment