diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2016-06-22 13:10:52 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-06-22 13:10:52 +0000 |
| commit | 61b3f66a3f99bb8a6a5145b1c2bd7eb98bf64748 (patch) | |
| tree | 01c2fefe5b3c46c0ccee0afa098f0a8f0ff1b6fd /tools/perf/util/llvm-utils.c | |
| parent | perf session: Destructors should accept NULL (diff) | |
| download | kernel-61b3f66a3f99bb8a6a5145b1c2bd7eb98bf64748.tar.gz kernel-61b3f66a3f99bb8a6a5145b1c2bd7eb98bf64748.zip | |
perf tests time-to-tsc: No need to disable an event before deleting it
Because at the destructor we will call close() and that will do the
disable. And we destructors can accept NULL, just like free(), so no
need to check it.
Cc: Adrian Hunter <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions
