Rename uprobe to userspace-probe
[lttng-tools.git] / include / lttng / event-rule / uprobe.h
index 12aa013188de09b969f5c75d3a3bcaae986a8d07..f4020a16aa2590ea0f9e85ab8faf3b291a4bf033 100644 (file)
@@ -5,8 +5,8 @@
  *
  */
 
-#ifndef LTTNG_EVENT_RULE_UPROBE_H
-#define LTTNG_EVENT_RULE_UPROBE_H
+#ifndef LTTNG_EVENT_RULE_USERSPACE_PROBE_H
+#define LTTNG_EVENT_RULE_USERSPACE_PROBE_H
 
 #include <lttng/event-rule/event-rule.h>
 #include <lttng/userspace-probe.h>
@@ -16,27 +16,27 @@ extern "C" {
 #endif
 
 /*
- * Create a newly allocated uprobe event rule.
+ * Create a newly allocated user space probe event rule.
  *
  * Returns a new event rule on success, NULL on failure. This event rule must be
  * destroyed using lttng_event_rule_destroy().
  */
-extern struct lttng_event_rule *lttng_event_rule_uprobe_create(void);
+extern struct lttng_event_rule *lttng_event_rule_userspace_probe_create(void);
 
 /*
- * Set the location of a uprobe event rule.
+ * Set the location of a user space probe event rule.
  *
  * The location is copied internally.
  *
  * Returns LTTNG_EVENT_RULE_STATUS_OK on success, LTTNG_EVENT_RULE_STATUS_INVALID
  * if invalid parameters are passed.
  */
-extern enum lttng_event_rule_status lttng_event_rule_uprobe_set_location(
+extern enum lttng_event_rule_status lttng_event_rule_userspace_probe_set_location(
                struct lttng_event_rule *rule,
                const struct lttng_userspace_probe_location *location);
 
 /*
- * Get the location of a uprobe event rule.
+ * Get the location of a user space probe event rule.
  *
  * The caller does not assume the ownership of the returned location.
  * The location shall only be used for the duration of the event
@@ -47,23 +47,23 @@ extern enum lttng_event_rule_status lttng_event_rule_uprobe_set_location(
  * passed, or LTTNG_EVENT_RULE_STATUS_UNSET if a location was not set prior to
  * this call.
  */
-extern enum lttng_event_rule_status lttng_event_rule_uprobe_get_location(
+extern enum lttng_event_rule_status lttng_event_rule_userspace_probe_get_location(
                const struct lttng_event_rule *rule,
                const struct lttng_userspace_probe_location **location);
 
 /*
- * Set the name of a uprobe event rule.
+ * Set the name of a user space probe event rule.
  *
  * The name is copied internally.
  *
  * Return LTTNG_EVENT_RULE_STATUS_OK on success, LTTNG_EVENT_RULE_STATUS_INVALID
  * if invalid parameters are passed.
  */
-extern enum lttng_event_rule_status lttng_event_rule_uprobe_set_name(
+extern enum lttng_event_rule_status lttng_event_rule_userspace_probe_set_name(
                struct lttng_event_rule *rule, const char *name);
 
 /*
- * Get the name of a uprobe event rule.
+ * Get the name of a user space probe event rule.
  *
  * The caller does not assume the ownership of the returned name.
  * The name shall only only be used for the duration of the event
@@ -73,11 +73,11 @@ extern enum lttng_event_rule_status lttng_event_rule_uprobe_set_name(
  * success, LTTNG_EVENT_RULE_STATUS_INVALID if an invalid parameter is passed,
  * or LTTNG_EVENT_RULE_STATUS_UNSET if a name was not set prior to this call.
  */
-extern enum lttng_event_rule_status lttng_event_rule_uprobe_get_name(
+extern enum lttng_event_rule_status lttng_event_rule_userspace_probe_get_name(
                const struct lttng_event_rule *rule, const char **name);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* LTTNG_EVENT_RULE_UPROBE_H */
+#endif /* LTTNG_EVENT_RULE_USERSPACE_PROBE_H */
This page took 0.026347 seconds and 4 git commands to generate.