Commit fa7e022c authored by Brice Videau's avatar Brice Videau
Browse files

Added a default stream field to traces.

parent 07959be3
---
:hostname: aurora12.gov
:default_stream: stream0
:stream_classes:
- :name: cl_stream_class
:schemas:
......@@ -18,15 +19,11 @@
vtid: 2
:events:
- :name: lttng_ust_opencl:clEnqueueReadBuffer_entry
:stream: stream0
- :name: lttng_ust_opencl_profiling:event_profiling
:stream: stream0
:payload:
event: 12
- :name: lttng_ust_opencl:clEnqueueReadBuffer_exit
:stream: stream0
- :name: lttng_ust_opencl_profiling:event_profiling_results
:stream: stream0
:payload:
event: 12
start: 0
......
......@@ -299,6 +299,7 @@ dust_in_initialize_method = lambda { |self_component, _configuration, _params, _
downstream_messages += in_data[:events].map { |event|
name = event[:name]
stream_id = event[:stream]
stream_id = in_data[:default_stream] if !stream_id
stream_class_id, common_context, stream = d_stream[stream_id]
event_class = d_event_class[[stream_class_id, name]]
......
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