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>
1 file changed