projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
event-rule: userspace probe: force location on create
[lttng-tools.git]
/
tests
/
unit
/
test_event_rule.c
diff --git
a/tests/unit/test_event_rule.c
b/tests/unit/test_event_rule.c
index b92a10aac0b6e1a23814b742b2f8ca3490f11c7e..72c37709faab7d5346e5fe6221ea2a974b231f7b 100644
(file)
--- a/
tests/unit/test_event_rule.c
+++ b/
tests/unit/test_event_rule.c
@@
-37,7
+37,7
@@
int lttng_opt_quiet = 1;
int lttng_opt_verbose;
int lttng_opt_mi;
int lttng_opt_verbose;
int lttng_opt_mi;
-#define NUM_TESTS 18
5
+#define NUM_TESTS 18
4
struct tracepoint_test {
enum lttng_domain_type type;
struct tracepoint_test {
enum lttng_domain_type type;
@@
-261,13
+261,9
@@
static void test_event_rule_userspace_probe(void)
lttng_payload_init(&payload);
lttng_payload_init(&payload);
- uprobe = lttng_event_rule_userspace_probe_create();
+ uprobe = lttng_event_rule_userspace_probe_create(
probe_location
);
ok(uprobe, "uprobe event rule object creation.");
ok(uprobe, "uprobe event rule object creation.");
- status = lttng_event_rule_userspace_probe_set_location(uprobe, probe_location);
- ok(status == LTTNG_EVENT_RULE_STATUS_OK,
- "Setting uprobe event rule location.");
-
status = lttng_event_rule_userspace_probe_get_location(
uprobe, &probe_location_tmp);
ok(status == LTTNG_EVENT_RULE_STATUS_OK,
status = lttng_event_rule_userspace_probe_get_location(
uprobe, &probe_location_tmp);
ok(status == LTTNG_EVENT_RULE_STATUS_OK,
This page took
0.038496 seconds
and
4
git commands to generate.