aboutsummaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-04 02:20:21 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:35:47 +0200
commitda3edbf059fe6c6d010b47ac50876783b4ed49ce (patch)
treec705b4531ae0a7a3cb65106954c9defe1ad74084 /options.h
parentb5f80ac8982c40f79915ce1e1cb9bf8650ac5fe7 (diff)
downloadltrace-da3edbf059fe6c6d010b47ac50876783b4ed49ce.tar.gz
Elementary support for -x
- this is applied across libraries. Syntax for the -x option is the same as for -e - this fails on symbol aliases. E.g. there are several symbols named like strlen in libc: strlen, __GI_strlen, and perhaps others. This needs to be taken into account, and symbol aliases shouldn't be enabled if they were added under a different name already
Diffstat (limited to 'options.h')
-rw-r--r--options.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/options.h b/options.h
index 82b13c8..651d424 100644
--- a/options.h
+++ b/options.h
@@ -22,6 +22,7 @@ struct options_t {
int bt_depth; /* how may levels of stack frames to show */
#endif /* defined(HAVE_LIBUNWIND) */
struct filter *plt_filter;
+ struct filter *static_filter;
int hide_caller; /* Whether caller library should be hidden. */
};
extern struct options_t options;
@@ -41,18 +42,8 @@ struct opt_F_t {
struct opt_F_t *next;
};
-struct opt_x_t {
- char *name;
- int found;
- unsigned long hash;
- struct opt_x_t *next;
-};
-
extern struct opt_p_t *opt_p; /* attach to process with a given pid */
extern struct opt_F_t *opt_F; /* alternate configuration file(s) */
-extern struct opt_x_t *opt_x; /* list of functions to break at */
-extern unsigned int opt_x_cnt;
-
extern char **process_options(int argc, char **argv);