straces 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/straces.rb +1 -1
- data/straces.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45aab18b826338ce96ffcdaee841f0711cbdca95e240d4a723d42d7eaec004fc
|
4
|
+
data.tar.gz: afc9fad238fbc4d25bb8c2a1caabb464d19b94178b8a145596d72923d4b3a5b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ba4d24baf6521ee3f9bc0800b438afb78f15cdcc935a33e56db61ff65e2b588e85eba8ca8ccd538d18d2d55639b8bebe6d99e479619c06d3525fea7fc0d602f
|
7
|
+
data.tar.gz: dfec0976a12e9a6434046b5492894135dd5be51b34d038df6bce469a81e62fd2b63cabc56e2c7b27f67ef8fe459995f8daa822d1b8e568828a0be8e677e9cbf1
|
data/Gemfile.lock
CHANGED
data/lib/straces.rb
CHANGED
@@ -38,7 +38,7 @@ end
|
|
38
38
|
|
39
39
|
|
40
40
|
def strace_parse(line)
|
41
|
-
matcher = line.match /^(?<time>\d\d:\d\d:\d\d\.?\d*)?\s?(?<
|
41
|
+
matcher = line.match /^(?<pid>\d*)\s?(?<time>\d\d:\d\d:\d\d\.?\d*)?\s?(?<call>[^\(]+)(?<middle>.*)\<(?<timing>\d+\.\d+)\>$/
|
42
42
|
|
43
43
|
# <detached ..>
|
44
44
|
timing = Float matcher[:timing] rescue 0.0
|
data/straces.gemspec
CHANGED