* Ported to userspace by Pierre-Marc Fournier.
*/
-#define _LGPL_SOURCE
#include <urcu-bp.h>
#include <ust/core.h>
+#include <urcu/list.h>
struct tracepoint;
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define _LGPL_SOURCE
#include <linux/limits.h>
#include <errno.h>
#include <ust/kcompat/kcompat.h>
#include <ust/core.h>
-
-#define _LGPL_SOURCE
#include <urcu/list.h>
#include <urcu/urcu_ref.h>
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#define _LGPL_SOURCE
#include <stdlib.h>
#include <errno.h>
-#define _LGPL_SOURCE
#include <urcu-bp.h>
#include <urcu/rculist.h>
#include <urcu/hlist.h>
*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <unistd.h>
#include <sys/syscall.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
-#define _LGPL_SOURCE
#include <urcu-bp.h>
#include <urcu/rculist.h>
*
*/
+#define _LGPL_SOURCE
#include <errno.h>
#include <ust/tracepoint.h>
#include <ust/core.h>
#include <ust/kcompat/kcompat.h>
-#include "usterr_signal_safe.h"
-
-#define _LGPL_SOURCE
#include <urcu-bp.h>
+#include "usterr_signal_safe.h"
+
/* libraries that contain trace_events (struct trace_event_lib) */
static CDS_LIST_HEAD(libs);
*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
* Ported to userspace by Pierre-Marc Fournier.
*/
+#define _LGPL_SOURCE
#include <errno.h>
#include <ust/tracepoint.h>
#include <ust/core.h>
#include <ust/kcompat/kcompat.h>
-#include "usterr_signal_safe.h"
-
-#define _LGPL_SOURCE
#include <urcu-bp.h>
#include <urcu/hlist.h>
+#include "usterr_signal_safe.h"
+
//extern struct tracepoint __start___tracepoints[] __attribute__((visibility("hidden")));
//extern struct tracepoint __stop___tracepoints[] __attribute__((visibility("hidden")));