Skip to content

Conversation

@zzqq2199
Copy link

@zzqq2199 zzqq2199 commented Dec 1, 2025

Overview

  • Callsite is critical when analyzing complex code paths. For example, when I find the function FA takes a lot of time, I want to find where FA is triggered.
  • I add an option log_callsite to record function callsite (filepath:lineno).
  • Disabled by default; when enabled, writes callsite into event metadata and shows in the report.
image

Design & Implementation

  • Python API: VizTracer(log_callsite=True).

@zzqq2199 zzqq2199 changed the title add optioin log_callsite to record function callsite (filepath:lineno) add option log_callsite to record function callsite (filepath:lineno) Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant