This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
systemtap broken by removal of register_timer_hook
- From: Mel Gorman <mgorman at suse dot de>
- To: Frederic Weisbecker <fweisbec at gmail dot com>
- Cc: Ingo Molnar <mingo at kernel dot org>, LKML <linux-kernel at vger dot kernel dot org>, SystemTap <systemtap at sourceware dot org>
- Date: Wed, 3 Apr 2013 08:50:17 +0100
- Subject: systemtap broken by removal of register_timer_hook
Commit ba6fdda4 (profiling: Remove unused timer hook) removed
[un]register_timer_hook due to a lack of upstream users and a belief
that there were no out-of-tree users. However, systemtap uses it and
with that patch applied, some stap scripts fail with
WARNING: "unregister_timer_hook" [/tmp/stapJoLMxD/stap_de6e19eaf7bd94629aba9d6f56cdfca5_8156.ko] undefined!
WARNING: "register_timer_hook" [/tmp/stapJoLMxD/stap_de6e19eaf7bd94629aba9d6f56cdfca5_8156.ko] undefined!
Error inserting module '/tmp/stapJoLMxD/stap_de6e19eaf7bd94629aba9d6f56cdfca5_8156.ko': Unknown symbol in module
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed. Try again with another '--vp 00001' option.
Unexpected exit of STAP script at ./watch-dstate.pl line 305.
Can the patch be reverted or at least put a warning in place about it
being obsoleted until the systemtap folks come up with a replacement?
Systemtap folk, has his problem already been addressed?
--
Mel Gorman
SUSE Labs