diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-06-09 10:39:44 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-06-09 10:39:44 -0400 |
commit | ed493d0b68746e332d92ab20b0aed0d4673050fa (patch) | |
tree | 14b7f42e3befe5a91859cce569875f60db32a77d /trace-plot-task.c | |
parent | c8057eb75f8b458d95c87a0757da6568c51a7a3b (diff) |
trace-graph: Removed free_record() on peek data
No need to free peek_data() in trace plots.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-plot-task.c')
-rw-r--r-- | trace-plot-task.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/trace-plot-task.c b/trace-plot-task.c index 71fa731..0c9f8e0 100644 --- a/trace-plot-task.c +++ b/trace-plot-task.c | |||
@@ -183,7 +183,6 @@ static struct offset_cache *save_offsets(struct graph_info *ginfo) | |||
183 | record = tracecmd_peek_data(ginfo->handle, cpu); | 183 | record = tracecmd_peek_data(ginfo->handle, cpu); |
184 | if (record) | 184 | if (record) |
185 | offsets->offsets[cpu] = record->offset; | 185 | offsets->offsets[cpu] = record->offset; |
186 | free_record(record); | ||
187 | } | 186 | } |
188 | 187 | ||
189 | return offsets; | 188 | return offsets; |