Re: [PATCH 1/2] perf tools: check libasan and libubsan in Makefile.config

2020-06-04 Thread Jiri Olsa
On Wed, Jun 03, 2020 at 10:01:27AM +0800, Tiezhu Yang wrote: SNIP > > > diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config > > > index 12a8204..b699d21 100644 > > > --- a/tools/perf/Makefile.config > > > +++ b/tools/perf/Makefile.config > > > @@ -387,6 +387,12 @@ else > > >

Re: [PATCH 1/2] perf tools: check libasan and libubsan in Makefile.config

2020-06-02 Thread Tiezhu Yang
On 06/02/2020 10:15 PM, Jiri Olsa wrote: On Tue, Jun 02, 2020 at 12:15:03PM +0800, Tiezhu Yang wrote: When build perf with ASan or UBSan, if libasan or libubsan can not find, the feature-glibc is 0 and there exists the following error log which is wrong, because we can find gnu/libc-version.h

Re: [PATCH 1/2] perf tools: check libasan and libubsan in Makefile.config

2020-06-02 Thread Jiri Olsa
On Tue, Jun 02, 2020 at 12:15:03PM +0800, Tiezhu Yang wrote: > When build perf with ASan or UBSan, if libasan or libubsan can not find, > the feature-glibc is 0 and there exists the following error log which is > wrong, because we can find gnu/libc-version.h in /usr/include, glibc-devel > is also

Re: [PATCH 1/2] perf tools: check libasan and libubsan in Makefile.config

2020-06-02 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 02, 2020 at 12:15:03PM +0800, Tiezhu Yang escreveu: > When build perf with ASan or UBSan, if libasan or libubsan can not find, > the feature-glibc is 0 and there exists the following error log which is > wrong, because we can find gnu/libc-version.h in /usr/include, glibc-devel > is

[PATCH 1/2] perf tools: check libasan and libubsan in Makefile.config

2020-06-01 Thread Tiezhu Yang
When build perf with ASan or UBSan, if libasan or libubsan can not find, the feature-glibc is 0 and there exists the following error log which is wrong, because we can find gnu/libc-version.h in /usr/include, glibc-devel is also installed. [yangtiezhu@linux perf]$ make DEBUG=1