This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
gettimeofday not initialized?
- From: Zhiwei Ying <zhiwei dot ying at gmail dot com>
- To: systemtap <systemtap at sources dot redhat dot com>
- Date: Thu, 24 Mar 2011 14:54:44 +0800
- Subject: gettimeofday not initialized?
ERROR: gettimeofday not initialized near identifier 'gettimeofday_ns'
at /ddtv/tracedrv/ubuntu10.4/systemtap-1.4-bin/share/systemtap/tapset/timestamp_gtod.stp:2
traceauto: systemtap: 1.4/0.149, base: e0fcd000, memory:
761data/441text/17ctx/13net/163alloc kb, probes: 1681
BUG: using smp_processor_id() in preemptible [00000000] code: stapio/1890
caller is _stp_cleanup_and_exit+0x359/0x3c0 [traceauto]
Pid: 1890, comm: stapio Tainted: G W 2.6.35 #8
Call Trace:
[<c11d3a42>] ? debug_smp_processor_id+0xc2/0xe0
[<e103a299>] ? _stp_cleanup_and_exit+0x359/0x3c0 [traceauto]
[<e103a340>] ? _stp_ctl_write_cmd+0x0/0x12ce [traceauto]
[<e103a463>] ? _stp_ctl_write_cmd+0x123/0x12ce [traceauto]
[<c1435905>] ? add_preempt_count+0xa5/0xd0
[<c143268a>] ? _raw_spin_lock_irqsave+0x1a/0x40
[<c1028a08>] ? get_parent_ip+0x8/0x20
[<c143582f>] ? sub_preempt_count+0x6f/0xa0
[<c1028a08>] ? get_parent_ip+0x8/0x20
[<c1435905>] ? add_preempt_count+0xa5/0xd0
[<c143268a>] ? _raw_spin_lock_irqsave+0x1a/0x40
[<c1028a08>] ? get_parent_ip+0x8/0x20
[<c143582f>] ? sub_preempt_count+0x6f/0xa0
[<c14323ce>] ? _raw_spin_unlock_irqrestore+0xe/0x30
[<e0fd2472>] ? _stp_ctl_read_cmd+0x122/0x190 [traceauto]
[<c121a27b>] ? tty_write+0x1cb/0x230
[<e103a340>] ? _stp_ctl_write_cmd+0x0/0x12ce [traceauto]
[<c10a26a8>] ? vfs_write+0xa8/0x170
[<c10a3039>] ? fget_light+0x99/0xc0
[<c10a2832>] ? sys_write+0x42/0x70
[<c1002c50>] ? sysenter_do_call+0x12/0x26