examples.wrappers: Use "$@" in dummy.sh.

Use "$@" for command line execution.

Signed-off-by: Rudá Moura <rmoura@redhat.com>
examples.wrappers: Turn ltrace.sh smarter.

Use 'set -e' to exit in the first error problem, for example, when
the ltrace command is not installed.

The script now looks inside the log to probe for exit code, after
that, it tries to look if the process has been killed by a signal.
This order is different from the previous implementation.

The regular expression to probe for exit code and signals are improved.

Signed-off-by: Rudá Moura <rmoura@redhat.com>
examples.wrappers: Use "$@" and --quiet in perf.sh.

Use "$@" for command line execution and pass the option --quiet
to perf, to avoid touching the stderr.

Note that even with --quiet option, the perf utility could
display messages in the output. It's not 100% free of output.

Signed-off-by: Rudá Moura <rmoura@redhat.com>
examples.wrappers: Use "$@" in strace.sh.

Use "$@" for command line execution.

Signed-off-by: Rudá Moura <rmoura@redhat.com>
examples.wrappers: Use exec and "$@" in valgrind.sh.

Use "$@" for command line execution.

Signed-off-by: Rudá Moura <rmoura@redhat.com>
examples.wrappers: New wrapper time.sh.

New wrapper script: run process inside /usr/bin/time.

Signed-off-by: Rudá Moura <rmoura@redhat.com>
Merge pull request #310 from ruda/update_wrapper_scripts

Update wrapper scripts