We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2be1e12 commit e9e2b0cCopy full SHA for e9e2b0c
lttngpy/src/lttngpy/snapshot.cpp
@@ -12,10 +12,7 @@
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
-#include <lttng/clear.h>
16
-#include <lttng/clear-handle.h>
17
-#include <lttng/lttng-error.h>
18
-#include <lttng/snapshot.h>
+#include <lttng/lttng.h>
19
20
#include <string>
21
@@ -65,7 +62,7 @@ int record_snapshot(const std::string & session_name)
65
62
}
66
63
67
64
// Clear the session after recording the snapshot
68
- lttng_clear_handle *handle;
+ lttng_clear_handle * handle;
69
ret = lttng_clear_session(session_name.c_str(), &handle);
70
if (0 > ret) {
71
lttng_clear_handle_destroy(handle);
0 commit comments