summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-03-18 09:35:28 -0400
committerFrank Ch. Eigler <fche@elastic.org>2010-03-18 09:35:28 -0400
commit70e6d6c94781870f7c11fb3cd62bd8ea69e91a85 (patch)
tree6071600746cdbe4ff8f15ab7c026ef93c9f062e2 /session.h
parent7acbe85634102f8df073e149a01158d8dcdbf0ee (diff)
downloadsystemtap-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/session.h b/session.h
index 1a1a2c9c..f53de57c 100644
--- a/session.h
+++ b/session.h
@@ -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;