]> git.baikalelectronics.ru Git - kernel.git/commit
perf clang: Delete needless util-cxx.h header
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 28 Aug 2019 12:59:10 +0000 (09:59 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 28 Aug 2019 21:14:57 +0000 (18:14 -0300)
commitb4191222f8fb9563c1730ee1f3a71e1841e37f6f
treee9607f53cc5676e52445edf695a28ed5d3a88a2c
parent303f444b0b22927293a51b9651962e5352c48d6e
perf clang: Delete needless util-cxx.h header

It was put in place just to make sure the 'new' C++ operator wouldn't
clash with some argument name in util.h, but there is not anymore any
such argument and also the reason stated for util.h to be included there
was to get the __maybe_unused definition, that is in linux/compiler.h,
so use that instead and nuke util-cxx.h.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: He Kuang <hekuang@huawei.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-1r5tvfnwiydjxhukgqs6bi11@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/bpf-loader.c
tools/perf/util/c++/clang-c.h
tools/perf/util/c++/clang-test.cpp
tools/perf/util/util-cxx.h [deleted file]