]> sourceware.org Git - systemtap.git/commit
Parenthesize probe arguments properly.
authorStan Cox <scox@redhat.com>
Tue, 4 Jan 2011 22:13:37 +0000 (17:13 -0500)
committerStan Cox <scox@redhat.com>
Tue, 4 Jan 2011 22:13:37 +0000 (17:13 -0500)
commit4ab3a1863bf4f472acae7a809bf2b38d91658aa8
treed285c0e4828be3bc6cc6561592a6edc9049d9e91
parent4c0101752d33121d372a162ca05f79bc51aadb3f
Parenthesize probe arguments properly.

* sdt-compat.h (STAP_CAST): Parenthesize.
(STAP_PROBE{1,10}): Parenthisize kprobe arguments too.

* sdt_misc.c (buz): Test probing a boolean expression.

* sdt_misc.exp (sup_flags): Compile tests with -Wall -Werror

* sdt_misc.stp (test_probe_1): New.

* sdt_misc_.d (test_probe_1): New.

* sdt_types.c (arr_struct, primary_colors_var): Only declare if needed.
sdt-compat.h
testsuite/systemtap.base/sdt_misc.c
testsuite/systemtap.base/sdt_misc.exp
testsuite/systemtap.base/sdt_misc.stp
testsuite/systemtap.base/sdt_misc_.d
testsuite/systemtap.base/sdt_types.c
This page took 0.024908 seconds and 5 git commands to generate.