mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-22 01:25:44 -05:00
Adding pausing functionality for the profiler (#634)
* Dropping profiler session on stop request * Changes to IXEventSession to simplify dropping sessions * Stop sessions instead of dropping, disable flaky tests * Initial framework for profiler pause requests * Restructuring profiler session monitoring * Fixes to session monitor * Testing for pause functionality * Fixing comments from PR * Changes to testing * Commenting out flaky test * Deleting leftover testing code
This commit is contained in:
committed by
GitHub
parent
aff0f1afae
commit
f53e532225
@@ -22,11 +22,16 @@ namespace Microsoft.SqlTools.ServiceLayer.Profiler
|
||||
/// <summary>
|
||||
/// Starts monitoring a profiler session
|
||||
/// </summary>
|
||||
bool StartMonitoringSession(ProfilerSession session);
|
||||
bool StartMonitoringSession(string viewerId, IXEventSession session);
|
||||
|
||||
/// <summary>
|
||||
/// Stops monitoring a profiler session
|
||||
/// </summary>
|
||||
bool StopMonitoringSession(string sessionId, out ProfilerSession session);
|
||||
bool StopMonitoringSession(string viewerId, out ProfilerSession session);
|
||||
|
||||
/// <summary>
|
||||
/// Pauses or Unpauses the stream of events to the viewer
|
||||
/// </summary>
|
||||
void PauseViewer(string viewerId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user