Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

tracing-framework/bin/query.js: support per-thread queries #582

Open
vertexodessa opened this issue Feb 12, 2017 · 2 comments
Open

tracing-framework/bin/query.js: support per-thread queries #582

vertexodessa opened this issue Feb 12, 2017 · 2 comments

Comments

@vertexodessa
Copy link
Contributor

I'm able to dump events from .wtf-trace file generated by C++ application:
tracing-framework/bin/query.js tmptestbuf.wtf-trace /./
However it's not clear if there is a way to dump events generated on threads different from the default one.
Could you please advice about that?
Appreciate your response.

@stellaraccident
Copy link

stellaraccident commented Feb 13, 2017 via email

@vertexodessa
Copy link
Contributor Author

hi Stella, thank You for Your replies! I'm sure there were multiple threads, I can see them in Web UI. However I couldn't find a way to select a different one using query.js. Would appreciate if You or someone could give a hint.
Sorry for sparse replies, I'm currently having some free time to look mostly at the weekends.
Please let me know if you want me to attach the wtf-trace file.

P.S. the reason I'm interested in dumping the events using console without WebUI, is that I'd like to try blacklisting functions automatically based on their execution time and count (https://github.com/vertexodessa/iitracer/blob/8b17ff2144f5534d005ee8ccdedde7c096e4049a/lib/src/iitracer.cc#L25).

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

No branches or pull requests

2 participants