aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/llvm-utils.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-06-22 13:19:11 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-06-22 13:19:11 +0000
commit32ca678dcd250f05183cf0c8a9e516545c6068bc (patch)
tree25604da734a20e54457e79e8bc02ec09b631feb0 /tools/perf/util/llvm-utils.c
parentperf tests time-to-tsc: No need to disable an event before deleting it (diff)
downloadkernel-32ca678dcd250f05183cf0c8a9e516545c6068bc.tar.gz
kernel-32ca678dcd250f05183cf0c8a9e516545c6068bc.zip
perf machine: Destructors should accept NULL
And do nothing, just like free(), to avoid having to test it in callers, usually in error paths. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[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