Skip to content

[feature] only trace functions in specific files #250

Open
@Co1lin

Description

@Co1lin

It seems that the current tracer does not support only tracing files in some specific files. The user can of course filter out the results after execution, but I found that this affects efficiency. To trace a large project containing many functions simultaneously, it is hard to specify a fixed depth. Setting it too large will lead to diving into many builtin modules, which is very slow. Instead, using path/filenames as the filtering criteria is more controllable.

I'll implement this for my needs. If you guys think it's useful, I can submit a PR. But which style for the additional parameter is suitable? Welcome any comments to the draft PR, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions