Skip to content

Commit d0a5052

Browse files
Merge pull request #1940 from RossBrunton/ross/urcall
[XPTI] Use `ur.call` rather than `ur` in XPTI
2 parents 804851e + 04deb8b commit d0a5052

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/collector/collector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ constexpr uint16_t TRACE_FN_BEGIN =
3131
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_begin);
3232
constexpr uint16_t TRACE_FN_END =
3333
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_end);
34-
constexpr std::string_view UR_STREAM_NAME = "ur";
34+
constexpr std::string_view UR_STREAM_NAME = "ur.call";
3535

3636
/**
3737
* @brief Formats the function parameters and arguments for urAdapterGet

scripts/core/INTRO.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Tracing
161161

162162
Unified Runtime loader implements tracing support through the `XPTI framework <https://github.com/intel/llvm/blob/sycl/xptifw/doc/XPTI_Framework.md>`__.
163163

164-
.. list-table:: UR Stream `"ur"` Notification Signatures
164+
.. list-table:: UR Stream `"ur.call"` Notification Signatures
165165
:header-rows: 1
166166

167167
* - Trace Point Type

source/loader/layers/tracing/ur_tracing_layer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
namespace ur_tracing_layer {
2222
context_t *getContext() { return context_t::get_direct(); }
2323

24-
constexpr auto CALL_STREAM_NAME = "ur";
24+
constexpr auto CALL_STREAM_NAME = "ur.call";
2525
constexpr auto STREAM_VER_MAJOR = UR_MAJOR_VERSION(UR_API_VERSION_CURRENT);
2626
constexpr auto STREAM_VER_MINOR = UR_MINOR_VERSION(UR_API_VERSION_CURRENT);
2727

test/layers/tracing/test_collector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ constexpr uint16_t TRACE_FN_BEGIN =
2525
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_begin);
2626
constexpr uint16_t TRACE_FN_END =
2727
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_end);
28-
constexpr std::string_view UR_STREAM_NAME = "ur";
28+
constexpr std::string_view UR_STREAM_NAME = "ur.call";
2929

3030
XPTI_CALLBACK_API void trace_cb(uint16_t trace_type, xpti::trace_event_data_t *,
3131
xpti::trace_event_data_t *child, uint64_t,

tools/urtrace/collector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ constexpr uint16_t TRACE_FN_BEGIN =
3636
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_begin);
3737
constexpr uint16_t TRACE_FN_END =
3838
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_end);
39-
constexpr std::string_view UR_STREAM_NAME = "ur";
39+
constexpr std::string_view UR_STREAM_NAME = "ur.call";
4040

4141
static logger::Logger out = logger::create_logger("collector", true);
4242

0 commit comments

Comments
 (0)