We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf979e commit db71d0aCopy full SHA for db71d0a
1 file changed
tracer/live_debugger.c
@@ -65,7 +65,7 @@ void dd_start_debugger_timeout(void) {
65
struct sigevent sev = {0};
66
sev.sigev_notify = SIGEV_THREAD_ID;
67
sev.sigev_signo = SIGVTALRM;
68
- sev._sigev_un._tid = (pid_t)syscall(SYS_gettid); // gettid() is glibc 2.30 only
+ sev.sigev_notify_thread_id = (pid_t)syscall(SYS_gettid); // gettid() is glibc 2.30 only
69
if (timer_create(CLOCK_THREAD_CPUTIME_ID, &sev, &DDTRACE_G(capture_timer)) == 0) {
70
struct itimerspec it = {
71
.it_value = { .tv_sec = ms / 1000, .tv_nsec = (ms % 1000) * 1000000LL },
0 commit comments