Create common override file for all architectures
[lttng-modules.git] / instrumentation / syscalls / lttng-syscalls-generate-headers.sh
index c7dd65470bdd6f951e8c7db028d56b105f4536bb..5fb1f8faf22fc23d607c63a8913fc66f13e41bb4 100644 (file)
@@ -218,7 +218,7 @@ if [ "$CLASS" = integers ]; then
 #noargs
 grep "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE}
 perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\
-'#ifndef OVERRIDE_sys_$1\n'\
+'#ifndef OVERRIDE_TABLE_sys_$1\n'\
 'TRACE_SYSCALL_TABLE\(syscalls_noargs, sys_$1, $2, $3\)\n'\
 '#endif/g'\
        ${TMPFILE} >> ${HEADER}
@@ -227,7 +227,7 @@ fi
 #others.
 grep -v "^syscall [^ ]* nr [^ ]* nbargs ${NRARGS} " ${SRCFILE} > ${TMPFILE}
 perl -p -e 's/^syscall ([^ ]*) nr ([^ ]*) nbargs ([^ ]*) .*$/'\
-'#ifndef OVERRIDE_sys_$1\n'\
+'#ifndef OVERRIDE_TABLE_sys_$1\n'\
 'TRACE_SYSCALL_TABLE(sys_$1, sys_$1, $2, $3)\n'\
 '#endif/g'\
        ${TMPFILE} >> ${HEADER}
This page took 0.022838 seconds and 4 git commands to generate.