summaryrefslogtreecommitdiff
path: root/strace.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-03-05 16:01:53 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-03-05 16:01:53 +0100
commit38cfe7c92328e940c71074c9b579b5bf9f2cb2f6 (patch)
treef9e1b76c051ec494f9fd875a2f2715fea70dcd7e /strace.c
parent7239dbcf2dff792f408c60fe3e278f707fdf497b (diff)
downloadstrace-38cfe7c92328e940c71074c9b579b5bf9f2cb2f6.tar.gz
strace-38cfe7c92328e940c71074c9b579b5bf9f2cb2f6.tar.bz2
strace-38cfe7c92328e940c71074c9b579b5bf9f2cb2f6.tar.xz
Remove variable tracing_paths and check in pathtrace_match
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'strace.c')
-rw-r--r--strace.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/strace.c b/strace.c
index 9ec354d..0440832 100644
--- a/strace.c
+++ b/strace.c
@@ -123,9 +123,6 @@ bool not_failing_only = 0;
/* Show path associated with fd arguments */
bool show_fd_path = 0;
-/* are we filtering traces based on paths? */
-bool tracing_paths = 0;
-
static bool detach_on_execve = 0;
static bool skip_startup_execve = 0;
@@ -1648,7 +1645,6 @@ init(int argc, char *argv[])
process_opt_p_list(optarg);
break;
case 'P':
- tracing_paths = 1;
pathtrace_select(optarg);
break;
case 's':