diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2010-03-18 09:35:28 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2010-03-18 09:35:28 -0400 |
commit | 70e6d6c94781870f7c11fb3cd62bd8ea69e91a85 (patch) | |
tree | 6071600746cdbe4ff8f15ab7c026ef93c9f062e2 /session.h | |
parent | 7acbe85634102f8df073e149a01158d8dcdbf0ee (diff) | |
download | systemtap-steved-70e6d6c94781870f7c11fb3cd62bd8ea69e91a85.tar.gz systemtap-steved-70e6d6c94781870f7c11fb3cd62bd8ea69e91a85.tar.xz systemtap-steved-70e6d6c94781870f7c11fb3cd62bd8ea69e91a85.zip |
PR909: store kernel exported symbols in session object
* session.h (kernel_exports): New field.
* main.cxx (parse_kernel_exports): Fill it.
* tapset-perfmon.cxx (perf_builder::build): Check it for our pal
perf_event_create_kernel_counter.
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ // -*- C++ -*- -// Copyright (C) 2005-2009 Red Hat Inc. +// Copyright (C) 2005-2010 Red Hat Inc. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General @@ -90,6 +90,7 @@ struct systemtap_session std::string kernel_base_release; std::string kernel_build_tree; std::map<std::string,std::string> kernel_config; + std::set<std::string> kernel_exports; std::string architecture; std::string runtime_path; std::string data_path; |