This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/20148] during module init, systemtap is calling cpufreq_register_notifier(), a function that can sleep, in atomic context


https://sourceware.org/bugzilla/show_bug.cgi?id=20148

--- Comment #2 from David Smith <dsmith at redhat dot com> ---
In theory, any stap script that calls any of the gettimeofday_*() functions
should cause this bug, but the following script doesn't show this bug:

# stap -ve 'probe begin { printf("%d\n", gettimeofday_s()) }'

Calling any of the gettimeofday_*() functions causes _stp_init_time() to be
called.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]