summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEd Nash <enash54@gmail.com>2013-07-29 09:08:22 -0400
committerAnthony Felice <tony.felice@timesys.com>2013-10-09 13:24:26 -0400
commit93c208a287ca3dd766e032d47ab8a2b3941e7c71 (patch)
treeaedbf0555bbd34614099eccf58ec43631f279278 /include
parent67dbe2b41fb217e5e0bf4c336ba7efc8834e5e94 (diff)
add latency stats and make debugfs writeable
Diffstat (limited to 'include')
-rw-r--r--include/linux/mvf_sema4.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mvf_sema4.h b/include/linux/mvf_sema4.h
index 3f6e4f5d97bb..7b25996f9417 100644
--- a/include/linux/mvf_sema4.h
+++ b/include/linux/mvf_sema4.h
@@ -16,7 +16,10 @@ typedef struct mvf_sema4_handle_struct {
// stats
u32 attempts;
u32 interrupts;
- struct dentry *debugfs_file;
+ u32 failures;
+ struct timeval request_time;
+ u64 total_latency_us;
+ u32 worst_latency_us;
} MVF_SEMA4;
int mvf_sema4_assign(int gate_num, bool use_interrupts, MVF_SEMA4** sema4_p);