* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define _LGPL_SOURCE
#include <assert.h>
#include <fcntl.h>
#include <stdarg.h>
#include <unistd.h>
#include <lttng/tracef.h>
+#include "signal-helper.h"
const char *str = "test string";
useconds_t nr_usec = 0;
char *tmp_file_path = NULL;
+ if (set_signal_handler()) {
+ return 1;
+ }
+
if (argc >= 2) {
nr_iter = atoi(argv[1]);
}
create_file(tmp_file_path);
}
usleep(nr_usec);
+ if (should_quit) {
+ break;
+ }
}
return 0;