Home
last modified time | relevance | path

Searched refs:sd_journal_add_match (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/libsystemd/sd-journal/
Dtest-journal-match.c22 assert_se(sd_journal_add_match(j, "foobar", 0) < 0); in main()
23 assert_se(sd_journal_add_match(j, "foobar=waldo", 0) < 0); in main()
24 assert_se(sd_journal_add_match(j, "", 0) < 0); in main()
25 assert_se(sd_journal_add_match(j, "=", 0) < 0); in main()
26 assert_se(sd_journal_add_match(j, "=xxxxx", 0) < 0); in main()
27 assert_se(sd_journal_add_match(j, (uint8_t[4]){'A', '=', '\1', '\2'}, 4) >= 0); in main()
28 assert_se(sd_journal_add_match(j, (uint8_t[5]){'B', '=', 'C', '\0', 'D'}, 5) >= 0); in main()
29 assert_se(sd_journal_add_match(j, "HALLO=WALDO", 0) >= 0); in main()
30 assert_se(sd_journal_add_match(j, "QUUX=mmmm", 0) >= 0); in main()
31 assert_se(sd_journal_add_match(j, "QUUX=xxxxx", 0) >= 0); in main()
[all …]
Dtest-journal-enum.c20 assert_se(sd_journal_add_match(j, "_TRANSPORT=syslog", 0) >= 0); in main()
21 assert_se(sd_journal_add_match(j, "_UID=0", 0) >= 0); in main()
Dsd-journal.c235 _public_ int sd_journal_add_match(sd_journal *j, const void *data, size_t size) { in sd_journal_add_match() function
/systemd-251/src/journal/
Dtest-journal-stream.c125 assert_se(sd_journal_add_match(j, "MAGIC=quux", 0) >= 0); in run_test()
151 assert_se(sd_journal_add_match(j, "MAGIC=quux", 0) >= 0); in run_test()
161 assert_se(sd_journal_add_match(j, "MAGIC=waldo", 0) >= 0); in run_test()
162 assert_se(sd_journal_add_match(j, "NUMBER=10", 0) >= 0); in run_test()
163 assert_se(sd_journal_add_match(j, "NUMBER=11", 0) >= 0); in run_test()
164 assert_se(sd_journal_add_match(j, "NUMBER=12", 0) >= 0); in run_test()
Djournalctl.c232 r = sd_journal_add_match(j, match, 0); in add_matches_for_device()
247 r = sd_journal_add_match(j, match1, 0); in add_matches_for_device()
1198 r = sd_journal_add_match(j, t, 0); in add_matches()
1201 r = sd_journal_add_match(j, t2, 0); in add_matches()
1214 r = sd_journal_add_match(j, *i, 0); in add_matches()
1298 r = sd_journal_add_match(j, match, sizeof(match) - 1); in discover_next_boot()
1358 r = sd_journal_add_match(j, match, sizeof(match) - 1); in get_boots()
1533 r = sd_journal_add_match(j, match, sizeof(match) - 1); in add_boot()
1551 r = sd_journal_add_match(j, "_TRANSPORT=kernel", in add_dmesg()
1752 r = sd_journal_add_match(j, match, strlen(match)); in add_priorities()
[all …]
/systemd-251/src/shared/
Dlogs-show.c1423 (r = sd_journal_add_match(j, m1, 0)) || in add_matches_for_unit()
1427 (r = sd_journal_add_match(j, "MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1", 0)) || in add_matches_for_unit()
1428 (r = sd_journal_add_match(j, "_UID=0", 0)) || in add_matches_for_unit()
1429 (r = sd_journal_add_match(j, m2, 0)) || in add_matches_for_unit()
1433 (r = sd_journal_add_match(j, "_PID=1", 0)) || in add_matches_for_unit()
1434 (r = sd_journal_add_match(j, m3, 0)) || in add_matches_for_unit()
1438 (r = sd_journal_add_match(j, "_UID=0", 0)) || in add_matches_for_unit()
1439 (r = sd_journal_add_match(j, m4, 0)) in add_matches_for_unit()
1450 (r = sd_journal_add_match(j, m5, 0)) in add_matches_for_unit()
1473 (r = sd_journal_add_match(j, m1, 0)) || in add_matches_for_user_unit()
[all …]
/systemd-251/src/coredump/
Dcoredumpctl.c86 r = sd_journal_add_match(j, pattern, 0); in add_match()
96 r = sd_journal_add_match(j, "MESSAGE_ID=" SD_MESSAGE_COREDUMP_STR, 0); in add_matches()
100 r = sd_journal_add_match(j, "MESSAGE_ID=" SD_MESSAGE_BACKTRACE_STR, 0); in add_matches()
/systemd-251/src/systemd/
Dsd-journal.h111 int sd_journal_add_match(sd_journal *j, const void *data, size_t size);
/systemd-251/src/journal-remote/
Djournal-gatewayd.c427 r = sd_journal_add_match(m->journal, match, sizeof(match)-1); in request_parse_arguments_iterator()
443 r = sd_journal_add_match(m->journal, p, 0); in request_parse_arguments_iterator()
/systemd-251/src/libsystemd/
Dlibsystemd.sym29 sd_journal_add_match;
/systemd-251/src/network/
Dnetworkctl.c1516 (r = sd_journal_add_match(j, m1, 0)) || in show_logs()
1518 (r = sd_journal_add_match(j, m2, 0)) || in show_logs()
1520 (r = sd_journal_add_match(j, m3, 0)) in show_logs()
/systemd-251/man/rules/
Dmeson.build676 ['sd_journal_add_match',