#include <sys/types.h>
#include <unistd.h>
#include "utils.h"
+#include "signal-helper.h"
#define TRACEPOINT_DEFINE
#include "tp.h"
unsigned int nr_iter = 100;
useconds_t nr_usec = 0;
+ if (set_signal_handler()) {
+ ret = -1;
+ goto end;
+ }
+
if (argc >= 2) {
nr_iter = atoi(argv[1]);
}
goto end;
}
}
+ if (should_quit) {
+ break;
+ }
}
end: