What about MIPS support?
William Cohen
wcohen@redhat.com
Wed Aug 5 12:42:00 GMT 2015
On 10/15/2012 05:21 PM, Victor Kamensky wrote:
> Hi All,
>
> It took us much much longer than originally expected. But it is better late than never. Here is our patches tarbal attached. Inside of tarbal (README file) and copied below I put short description of each patch. Some of patches are Cisco specific and may not be any interest for you. Some like MIPS support, cross compilation improvements, misc general fixes (i.e systemtap issue 6977), I think, could be quite useful to community. Since it is quilt patch series and patches may have patch apply order issues, we are publishing all of them, exactly as we use/apply them, regardless whether we consider them Cisco specific or not.
>
> As it was discussed, for now, I am just dropping our patches as is. Latter as time permits, I can work on cleaning them up, moving to latest systemtap git and try to prepare them for commit into systemtap tree. It would be great if folks could take a look at patches and/or patches description and indicate priorities/interests for specific patches on which I could start working first.
>
> Please advise if you would like me to post the same on different subject line on this mailing list (since it covers more than just mips support). I thought I just post it on original thread to get it proper closure.
>
Hi All,
Last week I was on vacation, playing around with a MIPS base creator
board (http://www.elinux.org/MIPS_Creator_CI20), and seeing if I could
get systemtap running on it. After locally building the linux-3.0.8
kernel I was able to massage the systemtap-mips.patch from
https://sourceware.org/ml/systemtap/2012-q4/msg00084.html, so that
current systemtap is buildable and able to run a portion of the
testsuite on MIPS. Attached is the current modified patch. The tests hung in
the ./systemtap.base/limits.stp tests and a number of tests failed
because of issues with utrace functions not being found. The
systemtap.sum is also attached to this email.
-Will
> ==== systemtap-1.6-cisco-patches/README start =============================
>
> This is patches series that Cisco did on top of systemtap-1.6. Some of them are Cisco specific and most likely are not interesting for community. We decided to
> provide them here anyway in order to avoid breakage in applying patches, because
> of patch application order issues.
>
> Other like MIPS support, cross compilation improvements, misc general fixes may
> be some interest for SystemTap community.
>
> Patch description follows order of patches in series file:
>
> systemtap-configure_cross_compile.patch - change in configure logic to make it
> more cross compilation environment friendly (in cross compile environment
> one cannot test presence of /usr/include files; those are from host). We
> don't use nss3 and avahi in our target so for now just introduce option
> that could disable them. Most likely issue is fixed in latest tree.
>
> systemtap-unwind-table-size.patch - IOS code is too big, we are hitting limit
> on unwind symbol table size. Increase the limit for now. In future it would
> be good code to adjust those values dynamically.
>
> systemtap-fde_byte_order_fix.patch - Fix reading fde entry in case of cross
> compilation where target and host have different byte order (i.e x86 host,
> be mips is target).
>
> systemtap-pointer-byte_size.patch - Fix related to ICC (intel compiler). There
> is a difference how DW_AT_byte_size is stored between gcc and icc. Current
> stap code tailored to gcc way. Need to go back and dig out more details
> here.
>
> systemtap-userland_caller.patch - Trying to introduce ucaller_addr and ucaller
> systemtap function. Most likely this code does not work. But currently
> patch is in our series file so keeping it for now.
>
> systemtap-biendian.patch - Support ICC biendian feature. It is described at
> http://software.intel.com/en-us/articles/dwarf-extensions-for-bi-endian-support/. Most
> like this code has no interest to anyone except Cisco.
>
> systemtap-old_compiler-task_finder.patch - Older gcc compiler (like gcc 3.4.x)
> produce compilation warning here, incorrectly assuming that dentry may be
> used uninitialized
>
> systemtap-cross_compile_helper.patch - Cross compilation assist. Actually
> include a lot of different small things. Here is the list of them (may not
> be complete):
> x) target system build may use difference 'gcc' and different 'make'.
> Different values could be specified through SYSTEMTAP_TARGET_CC and
> SYSTEMTAP_MAKE environment variable
> x) -y option introduced. Once specified it will indicate that systemtap
> compiler operates in cross compilation mode and value of option serves
> sysroot path value. Stap compiler supports several such options (details
> below)
> x) if compiler in cross compilation mode it does not use PATH and
> LD_LIBRARY_PATH to search for executables and libraries. Instead it uses
> SYSTEMTAP_CROSS_PATH and SYSTEMTAP_CROSS_LD_LIBRARY_PATH environment
> variables. PATH and LD_LIBRARY_PATH are usually different between host and
> target. Note SYSTEMTAP_CROSS_PATH and SYSTEMTAP_CROSS_LD_LIBRARY_PATH could
> be specified as relative of sysroot values, as well as host absolute
> pathes
> x) if stap compiler is in cross compilation mode it does not try to rebuild
> uprobes. It assumes that uprobes.ko is already built and installed in
> proper location in sysroot
> x) find_executable function is replaced with special sysroot class that
> handles different ways how file path needed during stap compilation (some
> times it needs file path in host terms, sometimes it would need it as it
> would be seen on target). Sysroot supports multiple sysroot. For example
> like in openwrt case one may have target root file system and overlay file
> system. Stap compiler in cross compilation mode can search both. Normally
> look up happens as iteration over sysroots and for each sysroot we iterate
> over list of directories specified in SYSTEMTAP_CROSS_PATH and
> SYSTEMTAP_CROSS_LD_LIBRARY_PATH. Quite normal case when one sysroot is
> specified so executables will be searched by adding sysroot value in front
> of directories specified by SYSTEMTAP_CROSS_PATH and
> SYSTEMTAP_CROSS_LD_LIBRARY_PATH.
>
> It is understood that above description may not be really sufficient to get
> full understanding of this patch. If community is interested I can give
> details explanation and see whether we can rework it. Above I just tried to
> give a taste of what sort of issue we are dealing with when we work in
> cross compiled environment
>
> systemtap-data-in_another_cu.patch - Fix for issue
> 6977 http://sourceware.org/bugzilla/show_bug.cgi?id=6977. We found it is
> very annoying and limiting for script writers, so we fixed it. It deals
> with situation of accessing global variables that are defined in *other*
> compilation units.
>
> systemtap-composed_rootfs_finder.patch - in embedded universe final root file
> system may be composed as link farm to set of files system. Example is
> Openwrt root file system and overlay. Systemtap runtime searches
> executables by canonical name. It won't work for link farm case. For
> link farm case ELF file name compiled into script is used as primary file
> path to check for file in file system or as key in list of file systems
> that participate in composition of final link farm. Outside of Cisco
> patch may have interest to distros like OpenWrt.
>
> systemtap-line_range_issue_fix.patch - memory leak and crash in
> iterate_over_srcfile_lines in case of line ranges.
>
> systemtap-icc_line_number.patch - deal with the way how ICC generates line
> number information.
>
> systemtap-data-in_library.patch - fix issues of accessing global data in
> libraries (opposed to executables) Not sure whether it is applicable to
> latest tree.
>
> systemtap-mips-uprobes.patch - MIPS uprobes kernel module code.
>
> systemtap-mips.patch - MIPS systemtap runtime and and tapset code.
>
> systemtap-ppc32.patch - runtime fixes for powerpc 32bit case.
>
> systemtap-smaller_buffer_size.patch - stap debugfs 1Mb buffer size is too big
> for systems like WRT54GL, where whole box has 16Mb or 32Mb of memory.
> Change 'b' option handling, so smaller buffers could be specified (i.e in
> Kbytes). Patch tries to be backward compatible with previous option usage
> - if no size letter is specified, it is treated like Megabytes
>
> systemtap-incorrect_kernel_buildid_hack.patch - there are idiosyncrasies in
> Cisco build system when kernel rebuilt twice and buildid in target image
> does not correspond to one we left to deal with on the host. This is hack
> to deal with it. Should be ignored by everyone else.
>
> systemtap-ios_keyword.patch - Cisco specific patch. Should be ignored by
> everybody else. Introduces ios keyword (along with 'process' and 'kernel').
> It deals with the fact that IOS process canonical name changes depending
> on IOS image feature key. 'ios' keyword allows us to have scripts reusable
> across different target images. Real ios process name is passed with -i
> option by higher level wrapper script.
>
> systemtap-no_userland_prologue_search.patch - Add option '-U' that disables
> function prologue searches in user-land processes. Current -P affects only
> kernel probes.
>
> systemtap-kernel_source_tree.patch - Option -T allows to specify location of
> kernel sources. Normally needed only in cross compilation environment.
>
> systemtap-uprobes_in_kernel_as_module.patch - Fix for case when in cross
> compilation environment we may have uprobes built as module in kernel
> build (opposite to built by systemtap). In this case, in order for
> kernel_built_uprobes function to see unregister_uprobe symbol it has to be
> added into kernel_exports even-though it comes from module (not uprobes)
>
> systemtap-remote_hack.patch - allows remote_uris mechanism to work in cross
> compilation environment, where target kernel release won't be the same as
> host kernel release
>
> systemtap-cross_testsuite.patch - Attempt to change testsuite to operate in
> cross compilation environment where access to target happens either through
> dejagnu remote target facilities or through stap --remote mechanism.
> Massive patch, across bunch of test cases, not sure whether community has
> any interest in it. It was used by us to validate systemtap operation on our
> targets. In order to run, it requires stap board specific config (not
> provided here), which would specify things like stap_board_args, and others.
>
> systemtap-enable_vma_tracker.patch - cover corner cases where
> _stp_umodule_relocate is used but vma_tracker is not enabled, while it
> should be, becuase it uses stap_find_vma_map_info_user function.
>
> Thanks,
> Victor
>
> On Thu, 23 Aug 2012, Josh Stone wrote:
>
>> On 08/22/2012 01:04 PM, Victor Kamensky wrote:
>>> Hi Per, Josh,
>>>
>>> We (Cisco) have pretty much full systemtap MIPS port.
>> [...]
>>> We always meant to publish all of it, but never get our hands on it. I
>>> hope this thread would be final push :). We will do it. Unfortunately, I
>>> cannot publish our patch series right away. I need to get permission from
>>> our company legal. It should not be a problem, but it may take two or
>>> three weeks.
>>
>> This is good news, and better that you're spurred now to share it. :)
>>
>>> Our latest series of patches is based on systemtap-1.6. I'll see whether I
>>> can find time and move them to latest git ... In worst case scenario we
>>> just publish what we have.
>>
>> IMO, it would be good to go ahead and post the 1.6 patches directly
>> after your legal clears it. Then if you're willing and able to rebase
>> that onto the latest git, that's great, but we don't need to hold up
>> everything for that possibility.
>>
>> Thanks,
>> Josh
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-some-support-for-MIPS-processors.patch
Type: text/x-patch
Size: 28795 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20150805/e8579d05/attachment.bin>
-------------- next part --------------
Test Run By root on Sun Aug 2 02:23:25 2015
Native configuration is mipsel-unknown-linux-gnu
=== systemtap tests ===
Schedule of variations:
unix
Running target unix
Host: Linux ci20 3.0.8loc-12469-gc52aae2 #1 SMP PREEMPT Sat Aug 1 05:04:05 BST 2015 mips GNU/Linux
Snapshot: version 2.9/0.152, commit release-2.8-51-g7cfb10eca050 + changes
GCC: 4.6.3 [gcc (Debian 4.6.3-14) 4.6.3]
Distro: 7.8
SElinux: unknown
Running ./systemtap/notest.exp ...
Running ./systemtap.apps/java.exp ...
UNTESTED: java - no javac
Running ./systemtap.apps/mysql.exp ...
UNTESTED: mysql sdt app
Running ./systemtap.apps/postgres.exp ...
UNTESTED: postgres sdt app
Running ./systemtap.apps/python.exp ...
UNTESTED: python sdt app
Running ./systemtap.apps/tcl.exp ...
UNTESTED: tcl sdt app
Running ./systemtap.apps/xulrunner.exp ...
UNTESTED: xulrunner sdt app
Running ./systemtap.base/add.exp ...
PASS: ./systemtap.base/add.stp startup
PASS: ./systemtap.base/add.stp load generation
PASS: ./systemtap.base/add.stp shutdown and output
Running ./systemtap.base/additional_scripts.exp ...
PASS: additional_scripts (no script)
PASS: additional_scripts (-E BAD_SCRIPT)
PASS: additional_scripts (-E listing probes)
PASS: additional_scripts (-E BAD_SCRIPT listing probes)
PASS: additional_scripts (-e and -E )
FAIL: additional_scripts (file and -E)
FAIL: additional_scripts (multiple -E)
Running ./systemtap.base/alias-condition.exp ...
PASS: ./systemtap.base/alias-condition.stp startup
PASS: ./systemtap.base/alias-condition.stp load generation
PASS: ./systemtap.base/alias-condition.stp shutdown and output
Running ./systemtap.base/alias_suffixes.exp ...
PASS: ./systemtap.base/alias_suffixes01.stp startup
PASS: ./systemtap.base/alias_suffixes01.stp load generation
PASS: ./systemtap.base/alias_suffixes01.stp shutdown and output
PASS: ./systemtap.base/alias_suffixes02.stp startup
PASS: ./systemtap.base/alias_suffixes02.stp load generation
PASS: ./systemtap.base/alias_suffixes02.stp shutdown and output
PASS: ./systemtap.base/alias_suffixes03.stp startup
PASS: ./systemtap.base/alias_suffixes03.stp load generation
PASS: ./systemtap.base/alias_suffixes03.stp shutdown and output
PASS: ./systemtap.base/alias_suffixes04.stp startup
PASS: ./systemtap.base/alias_suffixes04.stp load generation
PASS: ./systemtap.base/alias_suffixes04.stp shutdown and output
PASS: ./systemtap.base/alias_suffixes05.stp startup
PASS: ./systemtap.base/alias_suffixes05.stp load generation
PASS: ./systemtap.base/alias_suffixes05.stp shutdown and output
Running ./systemtap.base/alias_tapset.exp ...
PASS: alias_tapset
Running ./systemtap.base/alternatives.exp ...
FAIL: LOCAL1 (0)
FAIL: STRUCT1 (0)
Running ./systemtap.base/argv.exp ...
PASS: argv naked
PASS: argv one
PASS: argv two
PASS: argv one other
PASS: argv two other
PASS: argv two mixed
PASS: argv three mixed
Running ./systemtap.base/arith.exp ...
PASS: arith
Running ./systemtap.base/arith_limits.exp ...
PASS: arith_limits
Running ./systemtap.base/array_size.exp ...
PASS: ./systemtap.base/array_size.stp startup
PASS: ./systemtap.base/array_size.stp load generation
PASS: ./systemtap.base/array_size.stp shutdown and output
Running ./systemtap.base/array_slicing.exp ...
PASS: $test_name foreach (... val[*, *]) startup
PASS: $test_name foreach (... val[*, *]) shutdown and output
PASS: $test_name foreach (... val[int, int]) startup
PASS: $test_name foreach (... val[int, int]) shutdown and output
PASS: $test_name foreach (... val[string, string]) startup
PASS: $test_name foreach (... val[string, string]) shutdown and output
PASS: $test_name foreach (... val[variable, *]) startup
PASS: $test_name foreach (... val[variable, *]) shutdown and output
PASS: $test_name foreach (... val[variable, string]) startup
PASS: $test_name foreach (... val[variable, string]) shutdown and output
PASS: $test_name foreach (... val[c,d]) {c++;d++;} startup
PASS: $test_name foreach (... val[c,d]) {c++;d++;} shutdown and output
PASS: $test_name foreach (... val[expression,*]) startup
PASS: $test_name foreach (... val[expression,*]) shutdown and output
PASS: $test_name foreach sorting startup
PASS: $test_name foreach sorting shutdown and output
PASS: $test_name delete val[*,*] startup
PASS: $test_name delete val[*,*] shutdown and output
PASS: $test_name delete val[*, string] startup
PASS: $test_name delete val[*, string] shutdown and output
PASS: $test_name delete val[int, *] startup
PASS: $test_name delete val[int, *] shutdown and output
PASS: $test_name delete val[epression, *] startup
PASS: $test_name delete val[epression, *] shutdown and output
PASS: $test_name delete pmaps startup
PASS: $test_name delete pmaps shutdown and output
PASS: $test_name membership [*,*] in val startup
PASS: $test_name membership [*,*] in val shutdown and output
PASS: $test_name membership [*, string] in val startup
PASS: $test_name membership [*, string] in val shutdown and output
PASS: $test_name membership [int, *] in val startup
PASS: $test_name membership [int, *] in val shutdown and output
PASS: $test_name membership [expression,*] in val startup
PASS: $test_name membership [expression,*] in val shutdown and output
PASS: $test_name membership pmaps startup
PASS: $test_name membership pmaps shutdown and output
PASS: $test_name membership pmaps (2) startup
PASS: $test_name membership pmaps (2) shutdown and output
Running ./systemtap.base/array_string.exp ...
PASS: ARRAY_STRING startup
PASS: ARRAY_STRING load generation
PASS: ARRAY_STRING shutdown and output
Running ./systemtap.base/at_var.exp ...
UNTESTED: at_var
Running ./systemtap.base/at_var_cu.exp ...
UNTESTED: at_var_cu
Running ./systemtap.base/at_var_func.exp ...
UNTESTED: at_var_func
Running ./systemtap.base/at_var_lvalue.exp ...
UNTESTED: at_var_lvalue
Running ./systemtap.base/at_var_mark.exp ...
UNTESTED: at_var_mark
Running ./systemtap.base/at_var_mark_func.exp ...
UNTESTED: at_var_mark_func
Running ./systemtap.base/at_var_pie.exp ...
UNTESTED: at_var_pie
Running ./systemtap.base/at_var_timer_profile.exp ...
UNTESTED: at_var_timer_profile
Running ./systemtap.base/at_var_tracepoint.exp ...
FAIL: at_var_tracepoint compilation
Running ./systemtap.base/at_var_unresolved.exp ...
PASS: at_var_unresolved (1)
PASS: at_var_unresolved (cuname: 1, 0)
Running ./systemtap.base/at_var_unresolved_lvalue.exp ...
UNTESTED: at_var_unresolved_lvalue
Running ./systemtap.base/at_var_void_stmt.exp ...
FAIL: at_var_void_stmt (0, 2)
Running ./systemtap.base/atomic.exp ...
PASS: atomic1 expected error
PASS: atomic2 expected error
PASS: atomic3 expected error
PASS: atomic4 no expected error
PASS: atomic5 expected error
PASS: atomic6 expected error
PASS: atomic7 expected error
PASS: atomic8 no expected error
Running ./systemtap.base/backtrace.exp ...
KFAIL: backtrace (0 0) (PRMS: 10739)
KFAIL: backtrace-unwindsyms (0 0) (PRMS: 10739)
KPASS: self-unwind-ensure-exact (0) (PRMS 10739)
Running ./systemtap.base/bad-code.exp ...
PASS: bad-code.c compile
FAIL: bad-code
Running ./systemtap.base/badkprobe.exp ...
PASS: bad kprobe registration: kernel.statement(-1).absolute
PASS: bad kprobe registration: kprobe.statement(-1).absolute
PASS: bad optional kprobe registration: kernel.statement(-1).absolute
PASS: bad optional kprobe registration: kprobe.statement(-1).absolute
Running ./systemtap.base/be_loaded.exp ...
PASS: be_loaded
Running ./systemtap.base/be_order.exp ...
PASS: ./systemtap.base/be_order.stp startup
PASS: ./systemtap.base/be_order.stp load generation
PASS: ./systemtap.base/be_order.stp shutdown and output
Running ./systemtap.base/beginenderror.exp ...
PASS: beginenderror (5 3 0)
Running ./systemtap.base/bench.exp ...
PASS: bench (524)
Running ./systemtap.base/bitfield.exp ...
FAIL: ./systemtap.base/bitfield.stp compilation
Running ./systemtap.base/buildid.exp ...
UNTESTED: buildid (uprobes)
Running ./systemtap.base/bz10078.exp ...
PASS: bz10078 compile
UNTESTED: bz10078 -p4
UNTESTED: bz10078 -p5
Running ./systemtap.base/bz1027459.exp ...
FAIL: bz1027459 (timeout)
FAIL: bz1027459 -p5 (0)
Running ./systemtap.base/bz1074541.exp ...
PASS: ./bz1074541
Running ./systemtap.base/bz1126645.exp ...
FAIL: bz1126645 -p5 (0)
Running ./systemtap.base/bz13338.exp ...
PASS: bz13338
Running ./systemtap.base/bz5274.exp ...
UNTESTED: ./bz5274 -p5
Running ./systemtap.base/bz6503.exp ...
FAIL: bz6503 0 0
Running ./systemtap.base/bz6850.exp ...
PASS: bz6850 compile
UNTESTED: bz6850 -p4
UNTESTED: bz6850 -p5
Running ./systemtap.base/cache.exp ...
PASS: BASIC1 wasn't cached
PASS: BASIC2 was cached
PASS: OPTION1 wasn't cached
PASS: OPTION2 was cached
PASS: BULK1 wasn't cached
PASS: BULK2 was cached
PASS: TIMING1 wasn't cached
PASS: TIMING2 was cached
PASS: RUNTIME1 wasn't cached
PASS: RUNTIME2 was cached
PASS: DISABLED1 wasn't cached
PASS: DISABLED2 wasn't cached
PASS: MODNAM1 wasn't cached
PASS: MODNAM2 wasn't cached
PASS: ERROR1 wasn't cached
PASS: ERROR2 wasn't cached
PASS: BASIC3 wasn't cached
PASS: BASIC4 was cached
Running ./systemtap.base/cache_clean.exp ...
PASS: cache_clean premature cleaning
PASS: cache_clean timed cleaning
Running ./systemtap.base/callee.exp ...
UNTESTED: callee
Running ./systemtap.base/caller.exp ...
FAIL: caller startup (eof)
Running ./systemtap.base/cast-scope.exp ...
PASS: cast-scope-m32 compile
UNTESTED: cast-scope-m32
PASS: cast-scope-m32 compile
UNTESTED: cast-scope-m32
PASS: cast-scope-m32-O compile
UNTESTED: cast-scope-m32-O
Running ./systemtap.base/cast-user.exp ...
PASS: cast-user compile
FAIL: cast-user
Running ./systemtap.base/cast.exp ...
FAIL: ./systemtap.base/cast.stp
Running ./systemtap.base/cmd_parse.exp ...
PASS: cmd_parse1
PASS: cmd_parse2
PASS: cmd_parse3
PASS: cmd_parse4
PASS: cmd_parse5
PASS: cmd_parse6
PASS: cmd_parse7
PASS: cmd_parse8
PASS: cmd_parse9
PASS: cmd_parse10
PASS: cmd_parse11
PASS: cmd_parse12
PASS: cmd_parse13
PASS: cmd_parse14
PASS: cmd_parse15
FAIL: cmd_parse16: eof
Running ./systemtap.base/cmdline.exp ...
FAIL: cmdline
Running ./systemtap.base/color_parsing.exp ...
PASS: color_parsing (empty - stap: output matched)
PASS: color_parsing (empty - staprun: output matched)
PASS: color_parsing (short_key1 - stap: output matched)
PASS: color_parsing (short_key1 - staprun: output matched)
PASS: color_parsing (short_key2 - stap: output matched)
PASS: color_parsing (short_key2 - staprun: output matched)
PASS: color_parsing (short_key3 - stap: output matched)
PASS: color_parsing (short_key3 - staprun: output matched)
PASS: color_parsing (short_key4 - stap: output matched)
PASS: color_parsing (short_key4 - staprun: output matched)
PASS: color_parsing (short_key5 - stap: output matched)
PASS: color_parsing (short_key5 - staprun: output matched)
PASS: color_parsing (short_key6 - stap: output matched)
PASS: color_parsing (short_key6 - staprun: output matched)
PASS: color_parsing (short_key7 - stap: output matched)
PASS: color_parsing (short_key7 - staprun: output matched)
PASS: color_parsing (short_key8 - stap: output matched)
PASS: color_parsing (short_key8 - staprun: output matched)
PASS: color_parsing (short_key9 - stap: output matched)
PASS: color_parsing (short_key9 - staprun: output matched)
PASS: color_parsing (no_eq1 - stap: output matched)
PASS: color_parsing (no_eq1 - staprun: output matched)
PASS: color_parsing (no_eq2 - stap: output matched)
PASS: color_parsing (no_eq2 - staprun: output matched)
PASS: color_parsing (no_eq3 - stap: output matched)
PASS: color_parsing (no_eq3 - staprun: output matched)
PASS: color_parsing (no_eq4 - stap: output matched)
PASS: color_parsing (no_eq4 - staprun: output matched)
PASS: color_parsing (no_eq5 - stap: output matched)
PASS: color_parsing (no_eq5 - staprun: output matched)
PASS: color_parsing (no_eq6 - stap: output matched)
PASS: color_parsing (no_eq6 - staprun: output matched)
PASS: color_parsing (no_eq7 - stap: output matched)
PASS: color_parsing (no_eq7 - staprun: output matched)
PASS: color_parsing (no_eq8 - stap: output matched)
PASS: color_parsing (no_eq8 - staprun: output matched)
PASS: color_parsing (no_eq9 - stap: output matched)
PASS: color_parsing (no_eq9 - staprun: output matched)
PASS: color_parsing (no_eq10 - stap: output matched)
PASS: color_parsing (no_eq10 - staprun: output matched)
PASS: color_parsing (no_key1 - stap: output matched)
PASS: color_parsing (no_key1 - staprun: output matched)
PASS: color_parsing (no_key2 - stap: output matched)
PASS: color_parsing (no_key2 - staprun: output matched)
PASS: color_parsing (no_key3 - stap: output matched)
PASS: color_parsing (no_key3 - staprun: output matched)
PASS: color_parsing (no_key4 - stap: output matched)
PASS: color_parsing (no_key4 - staprun: output matched)
PASS: color_parsing (no_key5 - stap: output matched)
PASS: color_parsing (no_key5 - staprun: output matched)
PASS: color_parsing (no_key6 - stap: output matched)
PASS: color_parsing (no_key6 - staprun: output matched)
PASS: color_parsing (no_key7 - stap: output matched)
PASS: color_parsing (no_key7 - staprun: output matched)
PASS: color_parsing (no_key8 - stap: output matched)
PASS: color_parsing (no_key8 - staprun: output matched)
PASS: color_parsing (no_key9 - stap: output matched)
PASS: color_parsing (no_key9 - staprun: output matched)
PASS: color_parsing (no_key10 - stap: output matched)
PASS: color_parsing (no_key10 - staprun: output matched)
PASS: color_parsing (no_key11 - stap: output matched)
PASS: color_parsing (no_key11 - staprun: output matched)
PASS: color_parsing (no_key12 - stap: output matched)
PASS: color_parsing (no_key12 - staprun: output matched)
PASS: color_parsing (no_key13 - stap: output matched)
PASS: color_parsing (no_key13 - staprun: output matched)
PASS: color_parsing (no_val1 - stap: output matched)
PASS: color_parsing (no_val1 - staprun: output matched)
PASS: color_parsing (no_val2 - stap: output matched)
PASS: color_parsing (no_val2 - staprun: output matched)
PASS: color_parsing (no_val3 - stap: output matched)
PASS: color_parsing (no_val3 - staprun: output matched)
PASS: color_parsing (no_val4 - stap: output matched)
PASS: color_parsing (no_val4 - staprun: output matched)
PASS: color_parsing (no_val5 - stap: output matched)
PASS: color_parsing (no_val5 - staprun: output matched)
PASS: color_parsing (bad_val1 - stap: output matched)
PASS: color_parsing (bad_val1 - staprun: output matched)
PASS: color_parsing (bad_val2 - stap: output matched)
PASS: color_parsing (bad_val2 - staprun: output matched)
PASS: color_parsing (bad_val3 - stap: output matched)
PASS: color_parsing (bad_val3 - staprun: output matched)
PASS: color_parsing (bad_val4 - stap: output matched)
PASS: color_parsing (bad_val4 - staprun: output matched)
PASS: color_parsing (bad_val5 - stap: output matched)
PASS: color_parsing (bad_val5 - staprun: output matched)
PASS: color_parsing (valid1 - stap: output matched)
PASS: color_parsing (valid1 - staprun: output matched)
PASS: color_parsing (valid2 - stap: output matched)
PASS: color_parsing (valid2 - staprun: output matched)
PASS: color_parsing (valid3 - stap: output matched)
PASS: color_parsing (valid3 - staprun: output matched)
PASS: color_parsing (valid4 - stap: output matched)
PASS: color_parsing (valid4 - staprun: output matched)
PASS: color_parsing (valid5 - stap: output matched)
PASS: color_parsing (valid5 - staprun: output matched)
PASS: color_parsing
Running ./systemtap.base/const_value.exp ...
PASS: const_value.c compile
UNTESTED: const_value
PASS: const_value_func.c compile
UNTESTED: const_value_func (no-const-value)
Running ./systemtap.base/control_limits.exp ...
PASS: control_limits MAXNESTING (1)
PASS: control_limits MAXACTION (1)
PASS: control_limits MAXSTRINGLEN small (1)
PASS: control_limits MAXSTRINGLEN large (1)
Running ./systemtap.base/crash.exp ...
UNTESTED: crash - no staplog.so
Running ./systemtap.base/ctime.exp ...
PASS: ./systemtap.base/ctime.stp
Running ./systemtap.base/cu-decl.exp ...
PASS: cu-decl-m32 target compilation
UNTESTED: cu-decl-m32
PASS: cu-decl-m32 target compilation
UNTESTED: cu-decl-m32
PASS: cu-decl-m32-O target compilation
UNTESTED: cu-decl-m32-O
Running ./systemtap.base/cxxclass.exp ...
PASS: m32 cxxclass.c compile
UNTESTED: cxxclass-m32
PASS: m32 cxxclass.c compile
UNTESTED: cxxclass-m32
PASS: m32-O cxxclass.c compile
UNTESTED: cxxclass-m32-O
Running ./systemtap.base/debug_mem.exp ...
PASS: debug_mem (run)
PASS: debug_mem
Running ./systemtap.base/debugpath.exp ...
PASS: debugpath-bad
FAIL: debugpath-good (eof)
Running ./systemtap.base/deref.exp ...
PASS: ./systemtap.base/deref.stp startup
PASS: ./systemtap.base/deref.stp load generation
FAIL: ./systemtap.base/deref.stp shutdown (eof)
Running ./systemtap.base/deref2.exp ...
UNTESTED: deref2
Running ./systemtap.base/div0.exp ...
PASS: ./systemtap.base/div0.stp startup
PASS: ./systemtap.base/div0.stp load generation
PASS: ./systemtap.base/div0.stp shutdown and output
Running ./systemtap.base/dtrace.exp ...
PASS: dtrace python -G -64 -fPIC -o dtrace-XXX.o
PASS: dtrace python -G -o dtrace-XXX
PASS: dtrace python -h -o dtrace-XXX.h
PASS: dtrace python -h -o dtrace-XXX
PASS: dtrace python -G -o /tmp/XXX.o
PASS: dtrace python -G -o /tmp/XXX
PASS: dtrace python -h -o /tmp/XXX.h
PASS: dtrace python -h -o /tmp/XXX
PASS: dtrace python -G
PASS: dtrace python -h
PASS: dtrace python CFLAGS= CC=
PASS: dtrace python -C -h -o dtrace-XXX.h
PASS: dtrace python -C -Iincpath -h -o dtrace-XXX.h
PASS: dtrace python -C --no-pyparsing -Iincpath -h -o dtrace-XXX.h
UNTESTED: dtrace python parser check
PASS: dtrace python -Iincpath -G
PASS: dtrace python known uses
PASS: dtrace python -x IGNORED
PASS: dtrace python2 -G -64 -fPIC -o dtrace-XXX.o
PASS: dtrace python2 -G -o dtrace-XXX
PASS: dtrace python2 -h -o dtrace-XXX.h
PASS: dtrace python2 -h -o dtrace-XXX
PASS: dtrace python2 -G -o /tmp/XXX.o
PASS: dtrace python2 -G -o /tmp/XXX
PASS: dtrace python2 -h -o /tmp/XXX.h
PASS: dtrace python2 -h -o /tmp/XXX
PASS: dtrace python2 -G
PASS: dtrace python2 -h
PASS: dtrace python2 CFLAGS= CC=
PASS: dtrace python2 -C -h -o dtrace-XXX.h
PASS: dtrace python2 -C -Iincpath -h -o dtrace-XXX.h
PASS: dtrace python2 -C --no-pyparsing -Iincpath -h -o dtrace-XXX.h
UNTESTED: dtrace python2 parser check
PASS: dtrace python2 -Iincpath -G
PASS: dtrace python2 known uses
PASS: dtrace python2 -x IGNORED
UNSUPPORTED: dtrace python3
Running ./systemtap.base/dump_functions.exp ...
PASS: dump_functions (got output of stap --dump-functions)
PASS: dump_functions (got output of stap -v --dump-functions)
PASS: dump_functions (user_string in output)
PASS: dump_functions (_caller_match not in output)
PASS: dump_functions (user_string in -v output)
PASS: dump_functions (_caller_match in -v output)
PASS: dump_functions (mdelay has guru in output)
PASS: dump_functions (mdelay has guru in -v output)
PASS: dump_functions (uid has unpriv but not pure in output)
PASS: dump_functions (uid has unpriv and pure in -v output)
Running ./systemtap.base/dump_probe_aliases.exp ...
PASS: dump_probe_aliases (got output of stap --dump-probe-aliases)
PASS: dump_probe_aliases (got output of stap -v --dump-probe-aliases)
PASS: dump_probe_aliases (oneshot in output)
PASS: dump_probe_aliases (vfs.read in output)
PASS: dump_probe_aliases (__syscall.accept not in output)
PASS: dump_probe_aliases (oneshot in -v output)
PASS: dump_probe_aliases (vfs.read in -v output)
PASS: dump_probe_aliases (__syscall.accept in -v output)
Running ./systemtap.base/equal.exp ...
PASS: ./systemtap.base/equal.stp startup
PASS: ./systemtap.base/equal.stp load generation
FAIL: ./systemtap.base/equal.stp shutdown (timeout)
Running ./systemtap.base/error_fn.exp ...
PASS: ./systemtap.base/error_fn.stp startup
PASS: ./systemtap.base/error_fn.stp load generation
PASS: ./systemtap.base/error_fn.stp shutdown and output
Running ./systemtap.base/execve.exp ...
FAIL: ./systemtap.base/execve.stp -c /bin/true
Running ./systemtap.base/externalvar.exp ...
UNTESTED: externalvar-m32
UNTESTED: externalvar-m32
UNTESTED: externalvar-m32-O
Running ./systemtap.base/finloop2.exp ...
PASS: ./systemtap.base/finloop2.stp startup
PASS: ./systemtap.base/finloop2.stp load generation
PASS: ./systemtap.base/finloop2.stp shutdown and output
Running ./systemtap.base/flightrec1.exp ...
PASS: flightrec1 (flight recorder option)
PASS: flightrec1 (stapio in background)
PASS: flightrec1 (output file)
PASS: flightrec1 (switch output file)
Running ./systemtap.base/flightrec2.exp ...
PASS: flightrec2 (-S option)
PASS: flightrec2 (log file numbers limitation)
PASS: flightrec2 (log file size limitation)
Running ./systemtap.base/flightrec3.exp ...
PASS: flightrec3 (-S option with bulk mode)
PASS: flightrec3 (log file size limitation with bulk mode)
Running ./systemtap.base/flightrec4.exp ...
PASS: flightrec4 (flight recorder option)
PASS: flightrec4 (output file)
PASS: flightrec4 (old output file is removed)
PASS: flightrec4 (switch output file)
Running ./systemtap.base/flightrec5.exp ...
PASS: flightrec5 (flight recorder option)
PASS: flightrec5 (output file)
PASS: flightrec5 (old output file is removed)
PASS: flightrec5 (switch output file)
Running ./systemtap.base/foreach_aggrsort.exp ...
PASS: foreach_aggrsort
Running ./systemtap.base/foreach_value.exp ...
PASS: foreach_value
Running ./systemtap.base/func_alias.exp ...
UNTESTED: func_alias
Running ./systemtap.base/global_end.exp ...
PASS: global_end (12)
PASS: global_end_var (6)
PASS: global_end_var_used (1)
Running ./systemtap.base/global_init.exp ...
PASS: ./systemtap.base/global_init.stp startup
PASS: ./systemtap.base/global_init.stp load generation
PASS: ./systemtap.base/global_init.stp shutdown and output
Running ./systemtap.base/global_opt.exp ...
PASS: global_opt
Running ./systemtap.base/global_opt_invalid.exp ...
PASS: global_opt_invalid
Running ./systemtap.base/global_opt_unknown.exp ...
UNSUPPORTED: global_opt_unknown - kernel won't ignore unknown options
Running ./systemtap.base/global_stat.exp ...
PASS: global_stat
Running ./systemtap.base/global_var.exp ...
UNTESTED: global_var-m32
UNTESTED: global_var-m32
UNTESTED: global_var-m32-O
Running ./systemtap.base/global_var_kernel.exp ...
FAIL: global_var_kernel compilation
Running ./systemtap.base/global_vars.exp ...
PASS: ./systemtap.base/global_vars.stp startup
PASS: ./systemtap.base/global_vars.stp load generation
PASS: ./systemtap.base/global_vars.stp shutdown and output
Running ./systemtap.base/gtod.exp ...
FAIL: gtod (short range) (0)
FAIL: gtod (10ms interval) (0)
FAIL: gtod (100ms interval) (0)
Running ./systemtap.base/hash_add_buildid.exp ...
UNTESTED: hash_add_buildid
Running ./systemtap.base/helpout.exp ...
PASS: helpout stap -V
PASS: helpout stap -h
PASS: helpout staprun -V
PASS: helpout staprun -h
PASS: helpout /usr/local/libexec/systemtap/stapio -V
PASS: helpout /usr/local/libexec/systemtap/stapio -h
Running ./systemtap.base/if.exp ...
PASS: ./systemtap.base/if.stp startup
PASS: ./systemtap.base/if.stp load generation
PASS: ./systemtap.base/if.stp shutdown and output
Running ./systemtap.base/implicitptr.exp ...
PASS: implicitptr.c compile m32
PASS: probe listing implicitptr-m32 (ijkl)
UNTESTED: implicitptr-m32
PASS: implicitptr.c compile m32
PASS: probe listing implicitptr-m32 (ijkl)
UNTESTED: implicitptr-m32
PASS: implicitptr.c compile m32-O
PASS: probe listing implicitptr-m32-O (ijkl)
UNTESTED: implicitptr-m32-O
Running ./systemtap.base/inc.exp ...
PASS: ./systemtap.base/inc.stp startup
PASS: ./systemtap.base/inc.stp load generation
PASS: ./systemtap.base/inc.stp shutdown and output
Running ./systemtap.base/inherit.exp ...
PASS: inherit-m32 compile
UNTESTED: inherit-m32
PASS: inherit-m32 compile
UNTESTED: inherit-m32
PASS: inherit-m32-O compile
UNTESTED: inherit-m32-O
Running ./systemtap.base/inlinedvars.exp ...
PASS: inlinedvars-m32 compile
UNTESTED: inlinedvars-m32
PASS: inlinedvars-m32 compile
UNTESTED: inlinedvars-m32
PASS: inlinedvars-m32-O compile
UNTESTED: inlinedvars-m32-O
Running ./systemtap.base/ipaddr.exp ...
PASS: ipaddr_IPv4_recvmsg find 'nc'
PASS: ipaddr_IPv4_recvmsg nc server start
FAIL: ipaddr_IPv4_recvmsg compilation
PASS: ipaddr_IPv4_recvmsg nc server stop
PASS: ipaddr_IPv4_receive nc server start
FAIL: ipaddr_IPv4_receive compilation
PASS: ipaddr_IPv4_receive nc server stop
UNTESTED: ipaddr_IPv6_recvmsg starting IPv6 nc server
Running ./systemtap.base/itrace.exp ...
UNTESTED: itrace single step check : no kernel utrace support found
UNTESTED: itrace block step check : no kernel utrace support found
UNTESTED: itrace_single1 : no kernel utrace support found
UNTESTED: itrace_single2 : no kernel utrace support found
UNTESTED: itrace_block1 : no kernel utrace support found
UNTESTED: itrace_block2 : no kernel utrace support found
Running ./systemtap.base/kallsyms_expand_symbol.exp ...
FAIL: ./systemtap.base/kallsyms_expand_symbol.stp -c {head /proc/kallsyms}
Running ./systemtap.base/kbuildenv.exp ...
PASS: kbuild PATH sanitization
Running ./systemtap.base/kfunct.exp ...
PASS: ./systemtap.base/kfunct.stp startup
PASS: ./systemtap.base/kfunct.stp load generation
PASS: ./systemtap.base/kfunct.stp shutdown and output
Running ./systemtap.base/kmodule.exp ...
PASS: kmodule (built and installed module)
PASS: ./systemtap.base/kmodule.stp startup
PASS: ./systemtap.base/kmodule.stp load generation
FAIL: ./systemtap.base/kmodule.stp shutdown (timeout)
FAIL: ./systemtap.base/kprobe_module.stp startup (timeout)
Running ./systemtap.base/kprobes.exp ...
FAIL: ./systemtap.base/kprobes.stp startup (timeout)
Running ./systemtap.base/kretprobe-vars.exp ...
FAIL: ./systemtap.base/kretprobe-vars.stp compilation
Running ./systemtap.base/labels.exp ...
UNTESTED: labels
Running ./systemtap.base/library.exp ...
UNTESTED: library
Running ./systemtap.base/limits.exp ...
More information about the Systemtap
mailing list