Skip to content

Clean up the dtrace code and documentation for the hook is not using #125914

@Zheaoli

Description

@Zheaoli

Bug report

Bug description:

8 years ago, @ambv add dtrace support in CPython in a785c87

For now, after check the code, I think the point following below is not used in CPython code

  • function__entry
  • function__return
  • instance__new__start
  • instance__new__done
  • instance__delete__start
  • instance__delete__done
  • line

I think we need to clean up the code and the document in https://docs.python.org/3/howto/instrumentation.html

cc @markshannon

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions