diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-03-05 15:46:34 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-03-05 15:46:34 +0100 |
commit | 7239dbcf2dff792f408c60fe3e278f707fdf497b (patch) | |
tree | e1ca9125af94f8b1ca5c708f1fc0bf42b471de3e /strace.1 | |
parent | f877982aa2daa571b0e9bc67a3b582c45259d2cd (diff) | |
download | strace-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.1 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |