procps-ng : fix multi-line comment warnings

slab.c:110:1: warning: multi-line comment
slab.c:115:1: warning: multi-line comment
slab.c:122:1: warning: multi-line comment
slab.c:127:1: warning: multi-line comment

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
This commit is contained in:
Gilles Espinasse 2013-03-26 09:41:03 +01:00 committed by Craig Small
parent 4aa917455c
commit 46e47a527f

View File

@ -100,35 +100,36 @@ void free_slabinfo(struct slab_info *list)
} }
} }
// parse_slabinfo20 - actual parse routine for slabinfo 2.x (2.6 kernels) /* parse_slabinfo20 - actual parse routine for slabinfo 2.x (2.6 kernels)
// Note: difference between 2.0 and 2.1 is in the ": globalstat" part where version 2.1 * Note: difference between 2.0 and 2.1 is in the ": globalstat" part where version 2.1
// has extra column <nodeallocs>. We don't use ": globalstat" part in both versions. * has extra column <nodeallocs>. We don't use ": globalstat" part in both versions.
// *
// Formats (we don't use "statistics" extensions) * Formats (we don't use "statistics" extensions)
// *
// slabinfo - version: 2.1 * slabinfo - version: 2.1
// # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \ * # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
// : tunables <batchcount> <limit> <sharedfactor> \ * : tunables <batchcount> <limit> <sharedfactor> \
// : slabdata <active_slabs> <num_slabs> <sharedavail> * : slabdata <active_slabs> <num_slabs> <sharedavail>
// *
// slabinfo - version: 2.1 (statistics) * slabinfo - version: 2.1 (statistics)
// # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \ * # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
// : tunables <batchcount> <limit> <sharedfactor> \ * : tunables <batchcount> <limit> <sharedfactor> \
// : slabdata <active_slabs> <num_slabs> <sharedavail> \ * : slabdata <active_slabs> <num_slabs> <sharedavail> \
// : globalstat <listallocs> <maxobjs> <grown> <reaped> <error> <maxfreeable> <freelimit> <nodeallocs> \ * : globalstat <listallocs> <maxobjs> <grown> <reaped> <error> <maxfreeable> <freelimit> <nodeallocs> \
// : cpustat <allochit> <allocmiss> <freehit> <freemiss> * : cpustat <allochit> <allocmiss> <freehit> <freemiss>
// *
// slabinfo - version: 2.0 * slabinfo - version: 2.0
// # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \ * # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
// : tunables <batchcount> <limit> <sharedfactor> \ * : tunables <batchcount> <limit> <sharedfactor> \
// : slabdata <active_slabs> <num_slabs> <sharedavail> * : slabdata <active_slabs> <num_slabs> <sharedavail>
// *
// slabinfo - version: 2.0 (statistics) * slabinfo - version: 2.0 (statistics)
// # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \ * # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
// : tunables <batchcount> <limit> <sharedfactor> \ * : tunables <batchcount> <limit> <sharedfactor> \
// : slabdata <active_slabs> <num_slabs> <sharedavail> \ * : slabdata <active_slabs> <num_slabs> <sharedavail> \
// : globalstat <listallocs> <maxobjs> <grown> <reaped> <error> <maxfreeable> <freelimit> \ * : globalstat <listallocs> <maxobjs> <grown> <reaped> <error> <maxfreeable> <freelimit> \
// : cpustat <allochit> <allocmiss> <freehit> <freemiss> * : cpustat <allochit> <allocmiss> <freehit> <freemiss>
*/
static int parse_slabinfo20(struct slab_info **list, struct slab_stat *stats, static int parse_slabinfo20(struct slab_info **list, struct slab_stat *stats,
FILE *f) FILE *f)
{ {