commit | 1788a4442642d729116cbdd1e825a97b8147d4a8 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Thu Jan 15 22:27:55 2015 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Thu Jan 15 22:27:55 2015 -0500 |
tree | 961af57603fdccc9d3dd68512a152799ed55fafd | |
parent | 0cc1079c896b79133a07012311923a0dc452c7fb [diff] |
trace-cmd: Clear cpustats when making duplicate of a handle When creating a instance handle, it copies the parent directory handle. There's some things that it should not copy, and one of those is the cpustats, as that will get freed on close, and we do not need multiple frees to occur. It should get its own stats anyway. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>