commit | 9109bd86d709be82965ad486ef571e4e951487d5 | [log] [tgz] |
---|---|---|
author | Scott Todd <scotttodd@google.com> | Tue Jun 29 09:10:26 2021 -0700 |
committer | GitHub <noreply@github.com> | Tue Jun 29 09:10:26 2021 -0700 |
tree | efb6d79598cd233c753cdcbb9766fed4d1254f1c | |
parent | f2e17c53d10c4e75e5d02f00e10cee7540187a13 [diff] |
Fix use of `IREE_TRACE_ZONE_APPEND_TEXT` in library loaders. (#6348) Fixes https://github.com/google/iree/issues/6302
diff --git a/iree/hal/local/loaders/embedded_library_loader.c b/iree/hal/local/loaders/embedded_library_loader.c index 73dac23..f2edf20 100644 --- a/iree/hal/local/loaders/embedded_library_loader.c +++ b/iree/hal/local/loaders/embedded_library_loader.c
@@ -237,7 +237,7 @@ if (library->exports.tags != NULL) { const char* tag = library->exports.tags[ordinal]; if (tag) { - IREE_TRACE_ZONE_APPEND_TEXT(tag); + IREE_TRACE_ZONE_APPEND_TEXT(z0, tag); } } #endif // IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION
diff --git a/iree/hal/local/loaders/legacy_library_loader.c b/iree/hal/local/loaders/legacy_library_loader.c index 53275e9..b3bcb95 100644 --- a/iree/hal/local/loaders/legacy_library_loader.c +++ b/iree/hal/local/loaders/legacy_library_loader.c
@@ -318,7 +318,7 @@ if (library->exports.tags != NULL) { const char* tag = library->exports.tags[ordinal]; if (tag) { - IREE_TRACE_ZONE_APPEND_TEXT(tag); + IREE_TRACE_ZONE_APPEND_TEXT(z0, tag); } } #endif // IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION
diff --git a/iree/hal/local/loaders/static_library_loader.c b/iree/hal/local/loaders/static_library_loader.c index d4dad79..a7ff63b 100644 --- a/iree/hal/local/loaders/static_library_loader.c +++ b/iree/hal/local/loaders/static_library_loader.c
@@ -125,7 +125,7 @@ if (library->exports.tags != NULL) { const char* tag = library->exports.tags[ordinal]; if (tag) { - IREE_TRACE_ZONE_APPEND_TEXT(tag); + IREE_TRACE_ZONE_APPEND_TEXT(z0, tag); } } #endif // IREE_TRACING_FEATURES & IREE_TRACING_FEATURE_INSTRUMENTATION