Explorar o código

tools/dev/starpu_check_public.sh: do not only look for direct function calls

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
1aad340876
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/dev/starpu_check_public.sh

+ 1 - 1
tools/dev/starpu_check_public.sh

@@ -26,7 +26,7 @@ functions=$(spatch -very_quiet -sp_file tools/dev/starpu_funcs.cocci $(find incl
 for func in $functions ; do
 	fname=$(echo $func|awk -F ',' '{print $1}')
 	location=$(echo $func|awk -F ',' '{print $2}')
-	x=$(grep -rs "$fname(" examples tests mpi starpufft gcc-plugin tools src/sched_policies starpu-top)
+	x=$(grep -rs "$fname" examples tests mpi starpufft gcc-plugin tools src/sched_policies starpu-top)
 	if test "$x" == "" ; then
 	    echo "function ${redcolor}${fname}${stcolor} at location ${redcolor}$location${stcolor} is not used in any examples or tests"
 	fi