This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Follow-up to [Bug translator/14596] New: probe module enhancement request
- From: "Chaiken, Alison" <Alison_Chaiken at mentor dot com>
- To: "fche at redhat dot com" <fche at redhat dot com>
- Cc: "systemtap at sourceware dot org" <systemtap at sourceware dot org>, "Baxter, Jim" <Jim_Baxter at mentor dot com>
- Date: Wed, 19 Jun 2013 16:18:37 +0000
- Subject: Follow-up to [Bug translator/14596] New: probe module enhancement request
- References: <60BA5429A0E1584BA3633194F6F993B5027C77F2 at NA-MBX-03 dot mgc dot mentorg dot com> <60BA5429A0E1584BA3633194F6F993B5027C7832 at NA-MBX-03 dot mgc dot mentorg dot com>,<y0mbo72l58g dot fsf at fche dot csb>,<60BA5429A0E1584BA3633194F6F993B5027F7C50 at NA-MBX-03 dot mgc dot mentorg dot com>
Alison:
Thanks for the quick response.
FChE:
> It shouldn't do that; an strace should clear up where it's looking, and a
> stap "--vp 04000" may be enough to give extra information.
Here's the invocation:
${STAP_SYSROOT}/x86_64-linux/usr/bin/stap --vp 04000 $1 -a arm -m ${STP_BASE_NAME} -p4 \
-R ${STAP_SYSROOT}/mx6q/usr/share/systemtap/runtime \
--sysroot=${STAP_SYSROOT}/mx6q \
-B CROSS_COMPILE=${CROSS_COMPILE} \
-r ${STAP_SYSROOT}/mx6q/usr/src/kernel \
${STP_FILE}
where mx6q is our target's arch.
Here's the output:
Processing probedrm.stp
blacklist regexps:
blfn: ^(atomic_notifier_call_chain|default_do_nmi|__die|die_nmi|do_debug|do_general_protection|do_int3|do_IRQ|do_page_fault|do_sparc64_fault|do_trap|dummy_nmi_callback|flush_icache_range|ia64_bad_break|ia64_do_page_fault|ia64_fault|io_check_error|mem_parity_error|nmi_watchdog_tick|notifier_call_chain|oops_begin|oops_end|program_check_exception|single_step_exception|sync_regs|unhandled_fault|unknown_nmi_error|xen_[gs]et_debugreg|xen_irq_.*|xen_.*_fl_direct.*|check_events|xen_adjust_exception_frame|xen_iret.*|xen_sysret64.*|test_ti_thread_flag.*|inat_get_opcode_attribute|system_call_after_swapgs|.*raw_.*_lock.*|.*raw_.*_unlock.*|.*raw_.*_trylock.*|.*read_lock.*|.*read_unlock.*|.*read_trylock.*|.*write_lock.*|.*write_unlock.*|.*write_trylock.*|.*write_seqlock.*|.*write_sequnlock.*|.*spin_lock.*|.*spin_unlock.*|.*spin_trylock.*|.*spin_is_locked.*|rwsem_.*lock.*|.*mutex_.*lock.*|raw_.*|atomic_.*|atomic64_.*|get_bh|put_bh|.*apic.*|.*APIC.*|.*softirq.*|.*IRQ.*|.*_intr.*|__delay|.*kernel_text.*|get_current|current_.*|.*exception_tables.*|.*setup_rt_frame.*|.*preempt_count.*|preempt_schedule|special_mapping_.*|.*_pte_.*)$
blfn_ret: ^(do_exit|sys_exit|sys_exit_group)$
blfile: ^(kernel/kprobes\.c|arch/.*/kernel/kprobes\.c|.*/include/asm/io\.h|.*/include/asm/io_64\.h|.*/include/asm/bitops\.h|drivers/ide/ide-iops\.c|arch/.*/kernel/paravirt\.c|.*/include/asm/paravirt\.h|fs/seq_file\.c)$
blsection: ^(\.init\.|\.exit\.|\.devinit\.|\.devexit\.|\.cpuinit\.|\.cpuexit\.|\.meminit\.|\.memexit\.)
dwarf_builder::build for drm
parse '*', func '*'
semantic error: while resolving probe point: identifier 'module' at probedrm.stp:1:7
source: probe module("drm").function("*")
Hopefully that's more suggestive of a root cause to one of you than to me! (By the way, I also tried '--vp 04000' and "--vp 04000" and tried putting "--vp 04000" at different places in the script, but
I always got "unrecognized option" as a response.)
FChE:
> Maybe something as simple as the drm.ko file not carrying CONFIG_DEBUG_INFO=y.
I checked and it seems to be set:
grep DEBUG tmp/work/mx6q-mel-linux-gnueabi/linux-imx-3.5.7.13+gitr1+0e9463fac8d9eb9812fe571edd97ebce88055755-r15.1/defconfig
# CONFIG_SLUB_DEBUG is not set
CONFIG_PM_DEBUG=y
# CONFIG_SCHED_DEBUG is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
CONFIG_DEBUG_INFO=y
Thanks for any further suggestions,
Alison