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
/
regression
/
tools
/
notification
/
notification.c
diff --git
a/tests/regression/tools/notification/notification.c
b/tests/regression/tools/notification/notification.c
index 5f75334538504d43abd8741e548602792fb766a1..68a76f922a08ded50d602ca606a235300c76c9b5 100644
(file)
--- a/
tests/regression/tools/notification/notification.c
+++ b/
tests/regression/tools/notification/notification.c
@@
-1973,14
+1973,9
@@
static void test_uprobe_event_rule_notification(
lttng_session_daemon_notification_endpoint);
ok(notification_channel, "Notification channel object creation");
lttng_session_daemon_notification_endpoint);
ok(notification_channel, "Notification channel object creation");
- event_rule = lttng_event_rule_userspace_probe_create();
+ event_rule = lttng_event_rule_userspace_probe_create(
probe_location
);
ok(event_rule, "kprobe event rule object creation");
ok(event_rule, "kprobe event rule object creation");
- event_rule_status = lttng_event_rule_userspace_probe_set_location(
- event_rule, probe_location);
- ok(event_rule_status == LTTNG_EVENT_RULE_STATUS_OK,
- "Setting uprobe event rule location");
-
event_rule_status = lttng_event_rule_userspace_probe_set_event_name(
event_rule, trigger_name);
ok(event_rule_status == LTTNG_EVENT_RULE_STATUS_OK,
event_rule_status = lttng_event_rule_userspace_probe_set_event_name(
event_rule, trigger_name);
ok(event_rule_status == LTTNG_EVENT_RULE_STATUS_OK,
@@
-2628,7
+2623,7
@@
int main(int argc, const char *argv[])
{
const char *testapp_path, *test_symbol_name;
{
const char *testapp_path, *test_symbol_name;
- plan_tests(1
3
);
+ plan_tests(1
2
);
if (argc < 7) {
fail("Missing parameter for tests to run %d", argc);
if (argc < 7) {
fail("Missing parameter for tests to run %d", argc);
This page took
0.024409 seconds
and
4
git commands to generate.