Rename "tracing session" -> "recording session"
[lttng-tools.git] / extras / bindings / swig / python / lttng.i.in
index e99c9aecf53750b1c31e54dc7db67d3c7a69990a..b555f4aae02c85ab0762d8115def223b18ec7504 100644 (file)
@@ -29,6 +29,14 @@ multiple concurrent processes and threads. Tracing across multiple systems is al
 // This makes the typemap code useable with both Python 2 and 3.
 #define PyInt_AsSsize_t PyLong_AsSsize_t
 #endif
+
+// Avoid -Wmissing-declarations warning.
+PyObject *SWIG_init(void);
+
+// Avoid -Wmissing-prototypes warning with SWIG 3.0.10.
+#if SWIG_VERSION < 0x30012
+static size_t SWIG_strnlen(const char* s, size_t maxlen);
+#endif
 %}
 
 typedef unsigned int uint32_t;
@@ -390,20 +398,20 @@ int lttng_list_domains(const char *session_name, struct lttng_domain **domains);
 //Functions not needing redefinition
 %feature("docstring")"create(str name, str path) -> int
 
-Create a new tracing session using name and path.
+Create a new recording session using name and path.
 Returns 0 on success or a negative error code."
 int lttng_create_session(const char *name, const char *path);
 
 %feature("docstring")"create_snapshot(str name, str snapshot_url) -> int
 
-Create a new tracing session using name and snapshot_url in snapshot
+Create a new recording session using name and snapshot_url in snapshot
 mode (flight recorder).
 Returns 0 on success or a negative error code."
 int lttng_create_session_snapshot(const char *name, const char *path);
 
 %feature("docstring")"destroy(str name) -> int
 
-Tear down tracing session using name.
+Tear down recording session using name.
 Returns 0 on success or a negative error code."
 int lttng_destroy_session(const char *name);
 
This page took 0.024148 seconds and 4 git commands to generate.