diff options
Diffstat (limited to 'setupdwfl.h')
-rw-r--r-- | setupdwfl.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/setupdwfl.h b/setupdwfl.h new file mode 100644 index 00000000..7884e4da --- /dev/null +++ b/setupdwfl.h @@ -0,0 +1,28 @@ +// Setup routines for creating fully populated DWFLs. Used in pass 2 and 3. +// Copyright (C) 2009 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 +// Public License (GPL); either version 2, or (at your option) any +// later version. +// +#ifndef SETUP_DWFLPP_H +#define SETUP_DWFLPP_H + +#include "config.h" +#include "session.h" + +#include <set> +#include <string> + +extern "C" { +#include <elfutils/libdwfl.h> +} + +Dwfl *setup_dwfl_kernel(const std::string &name, + unsigned *found, + systemtap_session &s); +Dwfl *setup_dwfl_kernel(const std::set<std::string> &names, + unsigned *found, + systemtap_session &s); +#endif |