#include "bus-error.h"
#include "bus-kernel.h"
#include "bus-internal.h"
+#include "bus-util.h"
#define MAX_SIZE (4*1024*1024)
memset(p, 0x80, sz);
- assert_se(sd_bus_send_with_reply_and_block(b, m, 0, NULL, &reply) >= 0);
+ assert_se(sd_bus_call(b, m, 0, NULL, &reply) >= 0);
}
static void client_bisect(const char *address) {
if (now(CLOCK_MONOTONIC) >= t + arg_loop_usec)
break;
}
- printf("%u\n", (unsigned) ((n_copying * USEC_PER_SEC) / arg_loop_usec));
+ printf("%u\n", (unsigned) ((n_memfd * USEC_PER_SEC) / arg_loop_usec));
if (n_copying == n_memfd)
break;
pid_t pid;
int r;
- log_set_max_level(LOG_DEBUG);
-
for (i = 1; i < argc; i++) {
if (streq(argv[i], "chart")) {
mode = MODE_CHART;