diff options
| author | Dustin Brown <dustinb@codeaurora.org> | 2017-09-14 12:14:54 -0700 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-09-15 02:36:22 -0700 |
| commit | 79a741380203f4ceed0eed882951c09d00919976 (patch) | |
| tree | d1e03be594e1f2d82b4835fabeda3d4ae93d982d | |
| parent | ec4b5528cc45f6c81d09741e0191aa13b89ad197 (diff) | |
qcacmn: Flush memory table on debugfs iterator stop
When printing memory allocations via debugfs, the dedupe table is
flushed to output when it reaches capacity. If the dedupe table is not
full when the allocation enumeration is complete, the entries contained
will be dropped. Flush the dedupe table to output one last time when
enumeration is complete to avoid dropping memory allocations from the
output.
Change-Id: I10f866b7bfa13c871d75e3e4ff798a8a820482df
CRs-Fixed: 2110106
| -rw-r--r-- | qdf/linux/src/qdf_mem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qdf/linux/src/qdf_mem.c b/qdf/linux/src/qdf_mem.c index 26ffdf6508da..c7e609a5ecc0 100644 --- a/qdf/linux/src/qdf_mem.c +++ b/qdf/linux/src/qdf_mem.c @@ -398,6 +398,7 @@ static void *qdf_mem_seq_next(struct seq_file *seq, void *v, loff_t *pos) */ static void qdf_mem_seq_stop(struct seq_file *seq, void *v) { + qdf_mem_seq_print(seq); seq->private = v; } |
