diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-01-07 15:32:25 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-01-07 15:32:25 -0500 |
commit | 858870d7840afb12b5cd5d68fd54ff5293db77bd (patch) | |
tree | a2fb9bc6246f422275d7e5f8fcc2f258ff60058b | |
parent | a05d33d998204da39c13d764ef16e280423c8f3e (diff) |
trace-view: Fix filter_task_copy to also copy count
Need to copy the count of the hash, not just the data.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | trace-hash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/trace-hash.c b/trace-hash.c index d8cd42f..eb917ec 100644 --- a/trace-hash.c +++ b/trace-hash.c | |||
@@ -157,5 +157,7 @@ struct filter_task *filter_task_hash_copy(struct filter_task *hash) | |||
157 | } | 157 | } |
158 | } | 158 | } |
159 | 159 | ||
160 | new_hash->count = hash->count; | ||
161 | |||
160 | return new_hash; | 162 | return new_hash; |
161 | } | 163 | } |