Skip to content

Added API for user trace events for Python target#31

Merged
edwardalee merged 2 commits intomainfrom
python-user-trace-event
Mar 4, 2026
Merged

Added API for user trace events for Python target#31
edwardalee merged 2 commits intomainfrom
python-user-trace-event

Conversation

@edwardalee
Copy link
Contributor

Added API for user trace events for Python target.

@edwardalee edwardalee added the enhancement New feature or request label Mar 3, 2026
@edwardalee edwardalee requested a review from Copilot March 3, 2026 18:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the Python target support layer by adding ReactorBase methods to register and emit user-defined trace events via the generated lf module bindings.

Changes:

  • Add register_user_trace_event() wrapper to register an opaque trace event handle.
  • Add tracepoint_user_event() and tracepoint_user_value() wrappers to emit user trace events (optionally with a value).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@edwardalee edwardalee merged commit 4691a2e into main Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants