This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "stap -u" testing


I think this is a good idea.

Mike Mason wrote:

As far as I can tell, none of the tests invoke stap with the -u option (unoptimized mode). Doing so is revealing (see examples below). I propose we add "-u" tests to verify that *all* parameters used in tapsets can be accessed, even those not explicitly referenced in the tests. What do others think?

Mike

Examples:

# stap -p4 -u -e "probe signal.* {}"

semantic error: unsupported type tag 19: identifier '$act' at /usr/local/share/systemtap/tapset/signal.stp:418:20
semantic error: failed to retrieve location attribute for local 'info' (dieoffset: 0x5951a): identifier '$info' at /usr/local/share/systemtap/tapset/signal.stp:379:13
semantic error: failed to retrieve location attribute for local 'info' (dieoffset: 0x5951a): identifier '$info' at /usr/local/share/systemtap/tapset/signal.stp:380:16
semantic error: failed to retrieve location attribute for local 'ka' (dieoffset: 0x59515): identifier '$ka' at /usr/local/share/systemtap/tapset/signal.stp:381:15
semantic error: failed to retrieve location attribute for local 'oldset' (dieoffset: 0x59510): identifier '$oldset' at /usr/local/share/systemtap/tapset/signal.stp:382:18
semantic error: failed to retrieve location attribute for local 'regs' (dieoffset: 0x5950b): identifier '$regs' at /usr/local/share/systemtap/tapset/signal.stp:383:12
semantic error: unsupported type tag 19: identifier '$q' at /usr/local/share/systemtap/tapset/signal.stp:65:13
semantic error: unsupported type tag 19: identifier '$q' at /usr/local/share/systemtap/tapset/signal.stp:74:13
semantic error: probe_1497 with unresolved type for identifier 'sa_mask' at /usr/local/share/systemtap/tapset/signal.stp:418:10
semantic error: probe_1503 with unresolved type for identifier 'ka_addr' at /usr/local/share/systemtap/tapset/signal.stp:381:5
semantic error: probe_1503 with unresolved type for identifier 'oldset_addr' at /usr/local/share/systemtap/tapset/signal.stp:382:5
semantic error: probe_1503 with unresolved type for identifier 'regs' at /usr/local/share/systemtap/tapset/signal.stp:383:5
Pass 2: analysis failed. Try again with more '-v' (verbose) options.


# stap -p4 -u -e "probe vm.* {}"

semantic error: failed to retrieve location attribute for local 'addr' (dieoffset: 0xad1ca2): identifier '$addr' at /usr/local/share/systemtap/tapset/memory.stp:97:15
semantic error: failed to retrieve location attribute for local 'addr' (dieoffset: 0x87cb8c): identifier '$addr' at /usr/local/share/systemtap/tapset/memory.stp:97:15
semantic error: failed to retrieve location attribute for local 'addr' (dieoffset: 0x87c976): identifier '$addr' at /usr/local/share/systemtap/tapset/memory.stp:97:15
semantic error: failed to retrieve location attribute for local 'addr' (dieoffset: 0x87ee4b): identifier '$addr' at /usr/local/share/systemtap/tapset/memory.stp:97:15
semantic error: failed to retrieve location attribute for local 'addr' (dieoffset: 0x28f97a): identifier '$addr' at /usr/local/share/systemtap/tapset/memory.stp:97:15
semantic error: failed to retrieve location attribute for local 'addr' (dieoffset: 0x28d1f0): identifier '$addr' at /usr/local/share/systemtap/tapset/memory.stp:97:15
semantic error: failed to retrieve location attribute for local 'addr' (dieoffset: 0x28cdbe): identifier '$addr' at /usr/local/share/systemtap/tapset/memory.stp:97:15
semantic error: failed to retrieve location attribute for local 'len' (dieoffset: 0xad1c9d): identifier '$len' at /usr/local/share/systemtap/tapset/memory.stp:98:14
semantic error: failed to retrieve location attribute for local 'len' (dieoffset: 0x87cb87): identifier '$len' at /usr/local/share/systemtap/tapset/memory.stp:98:14
semantic error: failed to retrieve location attribute for local 'len' (dieoffset: 0x87c971): identifier '$len' at /usr/local/share/systemtap/tapset/memory.stp:98:14
semantic error: failed to retrieve location attribute for local 'len' (dieoffset: 0x87ee46): identifier '$len' at /usr/local/share/systemtap/tapset/memory.stp:98:14
semantic error: failed to retrieve location attribute for local 'len' (dieoffset: 0x28f975): identifier '$len' at /usr/local/share/systemtap/tapset/memory.stp:98:14
semantic error: failed to retrieve location attribute for local 'len' (dieoffset: 0x28cdb9): identifier '$len' at /usr/local/share/systemtap/tapset/memory.stp:98:14
semantic error: probe_1495 with unresolved type for identifier 'address' at /usr/local/share/systemtap/tapset/memory.stp:97:5
semantic error: probe_1495 with unresolved type for identifier 'length' at /usr/local/share/systemtap/tapset/memory.stp:98:5
semantic error: probe_1496 with unresolved type for identifier 'address' at /usr/local/share/systemtap/tapset/memory.stp:97:5
semantic error: probe_1497 with unresolved type for identifier 'address' at /usr/local/share/systemtap/tapset/memory.stp:97:5
semantic error: probe_1497 with unresolved type for identifier 'length' at /usr/local/share/systemtap/tapset/memory.stp:98:5
semantic error: probe_1498 with unresolved type for identifier 'address' at /usr/local/share/systemtap/tapset/memory.stp:97:5
semantic error: probe_1498 with unresolved type for identifier 'length' at /usr/local/share/systemtap/tapset/memory.stp:98:5
semantic error: probe_1499 with unresolved type for identifier 'address' at /usr/local/share/systemtap/tapset/memory.stp:97:5
semantic error: probe_1499 with unresolved type for identifier 'length' at /usr/local/share/systemtap/tapset/memory.stp:98:5
semantic error: probe_1500 with unresolved type for identifier 'address' at /usr/local/share/systemtap/tapset/memory.stp:97:5
semantic error: probe_1500 with unresolved type for identifier 'length' at /usr/local/share/systemtap/tapset/memory.stp:98:5
semantic error: probe_1501 with unresolved type for identifier 'address' at /usr/local/share/systemtap/tapset/memory.stp:97:5
semantic error: probe_1501 with unresolved type for identifier 'length' at /usr/local/share/systemtap/tapset/memory.stp:98:5
Pass 2: analysis failed. Try again with more '-v' (verbose) options.






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]