.grepSysCalls: Grep system calls
Description
A faster way of grepping the system call stack than just
grep(sys.calls(), pattern = "test")
Usage
.grepSysCalls(sysCalls, pattern)
Value
Numeric vector, equivalent to return from grep(sys.calls(), pattern = "test")
,
but faster if sys.calls()
is very big.
Arguments
- sysCalls
The return from sys.calls()
- pattern
Character, passed to grep