git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel/kfifo.c: replace conditional test with is_power_of_2()
[sfrench/cifs-2.6.git]
/
kernel
/
trace
/
trace_stat.h
diff --git
a/kernel/trace/trace_stat.h
b/kernel/trace/trace_stat.h
index 202274cf7f3d06d1145437ab8cd27d43eaf90e04..f3546a2cd826bc6ae0ecb85c3c631bd411884aab 100644
(file)
--- a/
kernel/trace/trace_stat.h
+++ b/
kernel/trace/trace_stat.h
@@
-12,7
+12,7
@@
struct tracer_stat {
/* The name of your stat file */
const char *name;
/* Iteration over statistic entries */
/* The name of your stat file */
const char *name;
/* Iteration over statistic entries */
- void *(*stat_start)(
void
);
+ void *(*stat_start)(
struct tracer_stat *trace
);
void *(*stat_next)(void *prev, int idx);
/* Compare two entries for stats sorting */
int (*stat_cmp)(void *p1, void *p2);
void *(*stat_next)(void *prev, int idx);
/* Compare two entries for stats sorting */
int (*stat_cmp)(void *p1, void *p2);