Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Show all children" feature #9

Open
dchanman opened this issue May 4, 2017 · 0 comments
Open

"Show all children" feature #9

dchanman opened this issue May 4, 2017 · 0 comments

Comments

@dchanman
Copy link
Collaborator

dchanman commented May 4, 2017

In the trace viewing panel, whenever I post a "sticky note" for the function in the bottom right corner, I'd like this box to contain a link "Summarize all children". By clicking on this link, I'd like to see a pop-up box where all children for this function are ordered by duration. The SQL query that will produce this output follows. Assume that the parent function has id=4096 and tid=18:

WITH lowerboundtime AS (SELECT time FROM trace WHERE id=4096 AND dir=0), upperboundtime AS (SELECT time FROM trace WHERE id=4096 and dir=1) SELECT func, id, time, duration FROM trace WHERE time>= (SELECT * FROM lowerboundtime) AND time <= (SELECT * FROM upperboundtime) AND tid=18 ORDER BY duration DESC;

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

No branches or pull requests

1 participant