commit | 3736885c65ccf59773f61109350ded86ad33a4a0 | [log] [tgz] |
---|---|---|
author | Brendan Gregg <brendan.d.gregg@gmail.com> | Fri Sep 25 11:17:00 2015 -0700 |
committer | Brendan Gregg <brendan.d.gregg@gmail.com> | Fri Sep 25 11:17:00 2015 -0700 |
tree | ff7bfa326c4bb9be7e42799ef0f46206900d3127 | |
parent | 6b8add078e4349f7442eac8e6d65e8d0ecd6d91a [diff] [blame] |
tidy up: delete value after use
diff --git a/tools/funclatency b/tools/funclatency index 7ed3e1b..8ff020e 100755 --- a/tools/funclatency +++ b/tools/funclatency
@@ -86,8 +86,8 @@ if (tsp == 0) { return 0; // missed start } - start.delete(&pid); delta = bpf_ktime_get_ns() - *tsp; + start.delete(&pid); FACTOR // store as histogram