diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-10-08 09:57:43 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-10-08 09:57:43 -0400 |
commit | 561079c8601d7ded6fe958b4cec3d0f7aec1ee63 (patch) | |
tree | b6481615519c60f87314319c1828eb6645833b19 /session.h | |
parent | e4cf148d68fe01b680856ad39739faf99bfc29b4 (diff) | |
download | systemtap-steved-561079c8601d7ded6fe958b4cec3d0f7aec1ee63.tar.gz systemtap-steved-561079c8601d7ded6fe958b4cec3d0f7aec1ee63.tar.xz systemtap-steved-561079c8601d7ded6fe958b4cec3d0f7aec1ee63.zip |
PR10702: preprocessor conditional for kernel CONFIG_foo
* session.h (kernel_config[]): New session field.
* main.cxx (parse_kernel_config): Populate it.
* parse.cxx (eval_comparison): Use it.
* testsuite/buildok/utrace.stp, testsuite/parseok/kconfig.stp: New tests.
* NEWS, stap.1.in, doc/langref.tex: Mention it.
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -87,6 +87,7 @@ struct systemtap_session std::string kernel_release; std::string kernel_base_release; std::string kernel_build_tree; + std::map<std::string,std::string> kernel_config; std::string architecture; std::string runtime_path; std::string data_path; |