}
printf("Fork test program, parent pid is %d\n", getpid());
- ust_marker(before_fork, MARK_NOARGS);
+ ust_marker(before_fork, UST_MARKER_NOARGS);
/* Sleep here to make sure the consumer is initialized before we fork */
sleep(1);
printf("Child pid is %d\n", getpid());
- ust_marker(after_fork_child, MARK_NOARGS);
+ ust_marker(after_fork_child, UST_MARKER_NOARGS);
ust_marker(before_exec, "pid %d", getpid());
ust_marker(after_exec, "pid %d", getpid());
}
else {
- ust_marker(after_fork_parent, MARK_NOARGS);
+ ust_marker(after_fork_parent, UST_MARKER_NOARGS);
}
return 0;