Skip to content

Unable to use TraceLoggingProvider etw_provider_handle ("ONNXRuntimeTraceLoggingProvider") in onnxruntime\core\session\onnxruntime_c_api.cc #23145

@tzimmer420

Description

@tzimmer420

Describe the issue

Unable to use ONNXRuntimeTraceLoggingProvider in onnxruntime\core\session\onnxruntime_c_api.cc. Build is unable to resolve "etw_provider_handle".

To reproduce

Add code with TraceLoggingWrite(etw_provider_handle, ...) in onnxruntime_c_api.cc.
Code will not build.

Urgency

No response

Platform

Windows

OS Version

26100

ONNX Runtime Installation

Built from Source

ONNX Runtime Version or Commit ID

1.20.1

ONNX Runtime API

Python

Architecture

X64

Execution Provider

Other / Unknown

Execution Provider Library Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions