This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/17894] New: global_opt_unknown.exp failure
- From: "mcermak at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 28 Jan 2015 09:38:22 +0000
- Subject: [Bug runtime/17894] New: global_opt_unknown.exp failure
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17894
Bug ID: 17894
Summary: global_opt_unknown.exp failure
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: mcermak at redhat dot com
The global_opt_unknown.exp testcase fails in kernel runtime on rhel[567] all
arches. In dyninst mode we get expected warning:
=======
# stap -G var2=29 -e 'global var1=9 ; probe begin { if (var1 == 9)
println("systemtap test success") else println("systemtap test failure") ;
exit()} ' --dyninst
stapdyn: WARNING: Ignoring unknown module option 'var2'
systemtap test success
=======
But using kernel runtime, "Unknown symbol in module" occures:
=======
7.1 S x86_64 [-] # stap -vv -G var2=29 -e 'global var1=9 ; probe begin { if
(var1 == 9) println("systemtap test success") else println("systemtap test
failure") ; exit()} '
Systemtap translator/driver (version 2.7/0.160, commit
release-2.6-175-g7be1b19f9898 + changes)
Copyright (C) 2005-2014 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS BOOST_SHARED_PTR
TR1_UNORDERED_MAP NLS DYNINST JAVA LIBVIRT LIBXML2
Created temporary directory "/tmp/stapREtnmb"
Session arch: x86_64 release: 3.10.0-224.el7.x86_64
Searched for library macro files:
"/root/mcermak-systemtap/systemtap-build/share/systemtap/tapset/linux/*.stpm",
found: 3, processed: 3
Searched for library macro files:
"/root/mcermak-systemtap/systemtap-build/share/systemtap/tapset/*.stpm", found:
5, processed: 5
Searched:
"/root/mcermak-systemtap/systemtap-build/share/systemtap/tapset/linux/x86_64/*.stp",
found: 3, processed: 3
Searched:
"/root/mcermak-systemtap/systemtap-build/share/systemtap/tapset/linux/*.stp",
found: 70, processed: 70
Searched:
"/root/mcermak-systemtap/systemtap-build/share/systemtap/tapset/x86_64/*.stp",
found: 1, processed: 1
Searched:
"/root/mcermak-systemtap/systemtap-build/share/systemtap/tapset/*.stp", found:
24, processed: 24
Pass 1: parsed user script and 106 library script(s) using
216032virt/33432res/3076shr/30904data kb, in 110usr/20sys/130real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 1 global(s)
using 216560virt/34484res/3344shr/31432data kb, in 10usr/0sys/4real ms.
Pass 3: using cached
/root/.systemtap/cache/91/stap_910fd4e2e09a713d1ee09e21c6b0d6e9_1248.c
Pass 4: using cached
/root/.systemtap/cache/91/stap_910fd4e2e09a713d1ee09e21c6b0d6e9_1248.ko
Pass 5: starting run.
Running /root/mcermak-systemtap/systemtap-build/bin/staprun -v -R
/tmp/stapREtnmb/stap_910fd4e2e09a713d1ee09e21c6b0d6e9_1248.ko var2=29
staprun:insert_module:183 Module stap_910fd4e2e09a713d1ee09e21c6b0d6e_27789
inserted from file
/tmp/stapREtnmb/stap_910fd4e2e09a713d1ee09e21c6b0d6e9_1248.ko
ERROR: Couldn't insert module
'/tmp/stapREtnmb/stap_910fd4e2e09a713d1ee09e21c6b0d6e9_1248.ko': Unknown symbol
in module
Spawn waitpid result (0x100): 1
WARNING: /root/mcermak-systemtap/systemtap-build/bin/staprun exited with
status: 1
Pass 5: run completed in 0usr/0sys/8real ms.
Pass 5: run failed. [man error::pass5]
Running rm -rf /tmp/stapREtnmb
Spawn waitpid result (0x0): 0
Removed temporary directory "/tmp/stapREtnmb"
=======
--
You are receiving this mail because:
You are the assignee for the bug.