2 * Copyright (C) 2020 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 * SPDX-License-Identifier: MIT
8 #include "tracepoint-trigger-example.h"
10 #include <lttng/tracepoint.h>
21 for (i
= 0; i
< UINT64_MAX
; i
++) {
26 gettimeofday(&tv
, NULL
);
29 strftime(time_str
, sizeof(time_str
), "[%m-%d-%Y] %T", localtime(&the_time
));
30 printf("%s.%ld - Tracing event \"trigger_example:my_event\"\n",
34 tracepoint(trigger_example
, my_event
, i
);
This page took 0.029459 seconds and 4 git commands to generate.