[tip:perf/urgent] perf test shell trace+probe_libc_inet_pton.sh: Be compatible with Debian/Ubuntu

2017-10-20 Thread tip-bot for Li Zhijian
Commit-ID: 74f8e22c153f4464060a0c2e4cfd1d6e51af2109 Gitweb: https://git.kernel.org/tip/74f8e22c153f4464060a0c2e4cfd1d6e51af2109 Author: Li Zhijian <lizhij...@cn.fujitsu.com> AuthorDate: Wed, 18 Oct 2017 16:34:09 +0800 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> Com

[tip:perf/urgent] perf test shell trace+probe_libc_inet_pton.sh: Be compatible with Debian/Ubuntu

2017-10-20 Thread tip-bot for Li Zhijian
Commit-ID: 74f8e22c153f4464060a0c2e4cfd1d6e51af2109 Gitweb: https://git.kernel.org/tip/74f8e22c153f4464060a0c2e4cfd1d6e51af2109 Author: Li Zhijian AuthorDate: Wed, 18 Oct 2017 16:34:09 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 18 Oct 2017 09:14:18 -0300 perf test

perf test vfs_getname failed

2017-10-19 Thread Li Zhijian
Hi Arnaldo i encounter some problem when running perf test, the details arelike below: - [lizj@rhel71 perf]$ sudo ./perf test vfs_getname -v 61: Add vfs_getname probe to get syscall args filenames : --- start --- test child forked, pid 5958 Failed to find 'result'

perf test vfs_getname failed

2017-10-19 Thread Li Zhijian
Hi Arnaldo i encounter some problem when running perf test, the details arelike below: - [lizj@rhel71 perf]$ sudo ./perf test vfs_getname -v 61: Add vfs_getname probe to get syscall args filenames : --- start --- test child forked, pid 5958 Failed to find 'result'

[PATCH] perf test: use stat() to check type of file instead of readdir

2017-10-19 Thread Li Zhijian
handle a return of DT_UNKNOWN. - so if we run the perf test under xfs, all cases under tests/shell/ will not be covered previously. Signed-off-by: Li Zhijian <lizhij...@cn.fujitsu.com> --- tools/perf/tests/builtin-test.c | 22 -- 1 file changed, 16 insertions

[PATCH] perf test: use stat() to check type of file instead of readdir

2017-10-19 Thread Li Zhijian
handle a return of DT_UNKNOWN. - so if we run the perf test under xfs, all cases under tests/shell/ will not be covered previously. Signed-off-by: Li Zhijian --- tools/perf/tests/builtin-test.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] perf test shell: trace+probe_libc_inet_pton.sh: force to use /bin/bash to load this script

2017-10-18 Thread Li Zhijian
ignore this patch please, it will broken the test description which is read from the first line of this script Thanks On 10/19/2017 11:53 AM, Li Zhijian wrote: this script contains Array, but not all sh support Array. by default, dash provides sh at ubuntu/debian which can not support Array

Re: [PATCH] perf test shell: trace+probe_libc_inet_pton.sh: force to use /bin/bash to load this script

2017-10-18 Thread Li Zhijian
ignore this patch please, it will broken the test description which is read from the first line of this script Thanks On 10/19/2017 11:53 AM, Li Zhijian wrote: this script contains Array, but not all sh support Array. by default, dash provides sh at ubuntu/debian which can not support Array

[PATCH] perf test shell: trace+probe_libc_inet_pton.sh: force to use /bin/bash to load this script

2017-10-18 Thread Li Zhijian
for lizhijian: PING ::1(::1) 56 data bytes ./trace+probe_libc_inet_pton.sh: 30: ./trace+probe_libc_inet_pton.sh: Bad substitution ./trace+probe_libc_inet_pton.sh: 32: ./trace+probe_libc_inet_pton.sh: Bad substitution Signed-off-by: Li Zhijian <lizhij...@cn.fujitsu.com> --- tools/perf

[PATCH] perf test shell: trace+probe_libc_inet_pton.sh: force to use /bin/bash to load this script

2017-10-18 Thread Li Zhijian
for lizhijian: PING ::1(::1) 56 data bytes ./trace+probe_libc_inet_pton.sh: 30: ./trace+probe_libc_inet_pton.sh: Bad substitution ./trace+probe_libc_inet_pton.sh: 32: ./trace+probe_libc_inet_pton.sh: Bad substitution Signed-off-by: Li Zhijian --- tools/perf/tests/shell/trace

[PATCH] perf test shell: trace+probe_libc_inet_pton.sh: be compatible with debian/ubuntu

2017-10-18 Thread Li Zhijian
/avg/max/mdev = 0.040/0.040/0.040/0.000 ms 0.000 probe_libc:inet_pton:(7f0e2db741c0)) __GI___inet_pton (/lib/x86_64-linux-gnu/libc-2.23.so) getaddrinfo (/lib/x86_64-linux-gnu/libc-2.23.so) [0xa9d40f34ff4d] (/bin/ping) --- Signed-off-by: Li Zhijian <lizhij...@cn.fujitsu.com> ---

[PATCH] perf test shell: trace+probe_libc_inet_pton.sh: be compatible with debian/ubuntu

2017-10-18 Thread Li Zhijian
/avg/max/mdev = 0.040/0.040/0.040/0.000 ms 0.000 probe_libc:inet_pton:(7f0e2db741c0)) __GI___inet_pton (/lib/x86_64-linux-gnu/libc-2.23.so) getaddrinfo (/lib/x86_64-linux-gnu/libc-2.23.so) [0xa9d40f34ff4d] (/bin/ping) --- Signed-off-by: Li Zhijian --- tools/perf/tests/shell/trace

[PATCH] tool/perf: fix perf compiling errors

2017-09-21 Thread Li Zhijian
rom util/c++/clang-test.cpp:2: /home/lizj/linux/tools/include/linux/list.h:107:14: error: invalid conversion from ‘void*’ to ‘list_head*’ [-fpermissive] -- Signed-off-by: Li Zhijian <lizhij...@cn.fujitsu.com> --- tools/perf/util/namespaces.h | 1 - 1 file changed, 1 deletion(-) d

[PATCH] tool/perf: fix perf compiling errors

2017-09-21 Thread Li Zhijian
rom util/c++/clang-test.cpp:2: /home/lizj/linux/tools/include/linux/list.h:107:14: error: invalid conversion from ‘void*’ to ‘list_head*’ [-fpermissive] -- Signed-off-by: Li Zhijian --- tools/perf/util/namespaces.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/u

[PATCH] tool/perf: fix perf compiling errors

2017-09-21 Thread Li Zhijian
From: Li Zhijian <lizhiij...@cn.fujitsu.com> since f045b8c, we failed to build perf with LIBCLANGLLVM=1, this patch is to fix the following compiling errors -- lizhijian@haswell-OptiPlex-9020:~/lkp/linux/tools/perf$ make LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1

[PATCH] tool/perf: fix perf compiling errors

2017-09-21 Thread Li Zhijian
From: Li Zhijian since f045b8c, we failed to build perf with LIBCLANGLLVM=1, this patch is to fix the following compiling errors -- lizhijian@haswell-OptiPlex-9020:~/lkp/linux/tools/perf$ make LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1 BUILD: Doing 'make -j8' parallel

[PATCH] selftests: firmware/config: add FW_LOADER_USER_HELPER_FALLBACK

2017-03-09 Thread Li Zhijian
fw_fallback.sh requires FW_LOADER_USER_HELPER_FALLBACK Signed-off-by: Li Zhijian <lizhij...@cn.fujitsu.com> --- tools/testing/selftests/firmware/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/firmware/config b/tools/testing/selftests/firmware/config

[PATCH] selftests: firmware/config: add FW_LOADER_USER_HELPER_FALLBACK

2017-03-09 Thread Li Zhijian
fw_fallback.sh requires FW_LOADER_USER_HELPER_FALLBACK Signed-off-by: Li Zhijian --- tools/testing/selftests/firmware/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/firmware/config b/tools/testing/selftests/firmware/config index c8137f7..965ed11 100644

[RFC] COLO Proxy Module

2015-06-18 Thread Li Zhijian
Hi, all We are planning to implement a kernel module called COLO Proxy to buffer and compare packets. This module is one of the important component of COLO project and now it is still in early stage, so any comments and feedback are warmly welcomed, thanks in advance. = # RFC: COLO-Proxy

[RFC] COLO Proxy Module

2015-06-18 Thread Li Zhijian
Hi, all We are planning to implement a kernel module called COLO Proxy to buffer and compare packets. This module is one of the important component of COLO project and now it is still in early stage, so any comments and feedback are warmly welcomed, thanks in advance. = # RFC: COLO-Proxy

<    1   2