* [Bug runtime/31907] New: STP_TIMING: BUG: using smp_processor_id() in preemptible on debug kernels
@ 2024-06-18 23:09 agentzh at gmail dot com
2024-06-18 23:32 ` [Bug runtime/31907] " agentzh at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: agentzh at gmail dot com @ 2024-06-18 23:09 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=31907
Bug ID: 31907
Summary: STP_TIMING: BUG: using smp_processor_id() in
preemptible on debug kernels
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: agentzh at gmail dot com
Target Milestone: ---
We've noted that while running systemtap with STP_TIMING and debug kernels, we
would see kernel error messages like this:
```
[ 4565.662398] BUG: using smp_processor_id() in preemptible [00000000]
code: stapio/1158102
[ 4565.662416] caller is _stp_stat_add+0x4c/0x6f3 [stap_timing_t1]
[ 4565.662485] CPU: 10 PID: 1158102 Comm: stapio Kdump: loaded Tainted: GF
W OE ------- --- 5.14.0-362.8.1.el9_3.x86_64+debug #1
[ 4565.662494] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
1.15.0-1 04/01/2014
[ 4565.662508] Call Trace:
[ 4565.662512] <TASK>
[ 4565.662521] dump_stack_lvl+0x57/0x81
[ 4565.662544] check_preemption_disabled+0xdd/0xe0
[ 4565.662556] _stp_stat_add+0x4c/0x6f3 [stap_timing_t1]
[ 4565.662594] systemtap_module_init+0x3cf/0x480 [stap_timing_t1]
[ 4565.662634] _stp_handle_start+0xf8/0x310 [stap_timing_t1]
[ 4565.662670] _stp_ctl_write_cmd+0x309/0x410 [stap_timing_t1]
```
Will prepare a patch to fix this.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug runtime/31907] STP_TIMING: BUG: using smp_processor_id() in preemptible on debug kernels
2024-06-18 23:09 [Bug runtime/31907] New: STP_TIMING: BUG: using smp_processor_id() in preemptible on debug kernels agentzh at gmail dot com
@ 2024-06-18 23:32 ` agentzh at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: agentzh at gmail dot com @ 2024-06-18 23:32 UTC (permalink / raw)
To: systemtap
https://sourceware.org/bugzilla/show_bug.cgi?id=31907
--- Comment #1 from agentzh <agentzh at gmail dot com> ---
Pushed a fix as commit a85559e84.
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-18 23:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-18 23:09 [Bug runtime/31907] New: STP_TIMING: BUG: using smp_processor_id() in preemptible on debug kernels agentzh at gmail dot com
2024-06-18 23:32 ` [Bug runtime/31907] " agentzh at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).