projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
6240127
)
hugepages plugin: Refactor the read_hugepage_entry() function.
author
Florian Forster
<octo@collectd.org>
Mon, 5 Sep 2016 09:22:39 +0000
(11:22 +0200)
committer
Florian Forster
<octo@collectd.org>
Wed, 14 Sep 2016 18:36:45 +0000
(20:36 +0200)
* Move static variables into the "entry_info" struct.
* Turn flag into an actual flag, rather than a counter.
* Close "fh" as soon as possible.
* Return early if flags != HP_HAVE_ALL.
* Remove dead code (d_name *always* contains a dash).
No differences found