Skip to content

[trace-events] Tracing Controller should keep list of possible categories #191

Description

@ofrobots

Context: https://github.com/nodejs/node/pull/20608/files#r186918294

It would be good for the Tracing Controller to keep a list of categories available for use in the process.

Activity

  1. AndreasMadsen commented on May 10, 2018

    @AndreasMadsen
    Member

    I'm not sure how that can be done since we are going to allow users to have their own categories. We could properly maintain a dynamic set object but a static list definitely isn't possible.

  2. jasnell commented on May 10, 2018

    @jasnell
    Member

    For now at least, the API won't be exposed to end users but this still presents a challenge long term.

    We could provide an API via the trace_events module to register categories for that list.

  3. ofrobots commented on May 10, 2018

    @ofrobots
    ContributorAuthor

    I was thinking dynamic list. As a starting point, it can be the list of categories encountered so far in the process, but going forward, we could formalize a register categories concept as @jasnell mentions.

  4. ofrobots commented on May 10, 2018

    @ofrobots
    ContributorAuthor

    BTW, the former works fairly well for Chrome at the moment:

    image

  5. github-actions commented on Jul 18, 2020

    @github-actions

    This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions