* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/* This test generates a trace of a certain number of events. It is used to
+ * check that no events are lost while tracing.
+ */
+
#include <string.h>
#include <stdlib.h>
-#include <ust/ust.h>
+#include <ust/marker.h>
#define N_ITER 100000
int i;
for(i=0; i<N_ITER; i++) {
- trace_mark(ust, an_event, "%d", i);
- trace_mark(ust, another_event, "%s", "Hello, World!");
+ ust_marker(an_event, "%d", i);
+ ust_marker(another_event, "%s", "Hello, World!");
}
return 0;