summaryrefslogtreecommitdiff
path: root/strace.1
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-03-05 15:46:34 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-03-05 15:46:34 +0100
commit7239dbcf2dff792f408c60fe3e278f707fdf497b (patch)
treee1ca9125af94f8b1ca5c708f1fc0bf42b471de3e /strace.1
parentf877982aa2daa571b0e9bc67a3b582c45259d2cd (diff)
downloadstrace-7239dbcf2dff792f408c60fe3e278f707fdf497b.tar.gz
strace-7239dbcf2dff792f408c60fe3e278f707fdf497b.tar.bz2
strace-7239dbcf2dff792f408c60fe3e278f707fdf497b.tar.xz
Use dynamically-sized selected[] array for -P PATH
While at it, added a small optimization of not remembering the path twice if it happens to be the same. text data bss dec hex filename 245111 680 10860 256651 3ea8b strace_old 245075 680 9804 255559 3e647 strace Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'strace.1')
-rw-r--r--strace.12
1 files changed, 1 insertions, 1 deletions
diff --git a/strace.1 b/strace.1
index 63b604c..00ca03c 100644
--- a/strace.1
+++ b/strace.1
@@ -517,7 +517,7 @@ Trace only system calls accessing
.I path.
Multiple
.B \-P
-options can be used to specify up to 256 paths.
+options can be used to specify several paths.
.TP
.BI "\-s " strsize
Specify the maximum string size to print (the default is 32). Note