diff options
author | Wang Nan <[email protected]> | 2014-07-15 08:40:20 +0800 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2014-07-18 17:47:04 -0400 |
commit | b972cc58ced01ba2cf1f67b36bcfbb3ed4fa706e (patch) | |
tree | 7821d8641b223789af28963090ab9d6f7a0d377d /tools/perf/scripts/python/check-perf-trace.py | |
parent | 6508fa761c330a1d2b4ae36199d08dbcb70e3ddb (diff) |
ftrace: Do not copy old hash when resetting
Do not waste time copying the old hash if the hash is going to be
reset. Just allocate a new hash and free the old one, as that is
the same result as copying te old one and then resetting it.
Link: http://lkml.kernel.org/p/[email protected]
Signed-off-by: Wang Nan <[email protected]>
[ SDR: Removed unused ftrace_filter_reset() function ]
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions