-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Bug Description:
The server and clients (e.g. vscode-trace-extension) uses out-of-spec isFiltered parameter for in DATA_TREE data providers to query the back-end date for a given time range. For example, the vscode-trace-extension passes the isFiltered (true) and requested_timerange to get the time-range specific statistic for any DATA_TREE data providers .e.g Function Duration Statistic of the Trace Compass server. The Trace Compass server then appends the range statistics as Selection sub-tree beside the Total statistics sub-tree.
Other servers that are not the Trace Compass server won't benefit from this feature.
To fix this add the isFiltered parameter to the TSP API or update the trace-server back-end (and front-end) to not requiring that flag.
Note:
Steps to Reproduce:
- Run Trace Compass Server
- Run vscode-trace-extension
- Open LTTng UST trace with call stack events
- Open
Function Duration Statisticsview - Open Developer Tools and go to Network tab
- Make a time selection in the Overview view
The Function Duration View will show the Selection sub-tree with selection based statistics
Additional Information
- Operating System: Any
- Trace Compass Version: master branch of today