X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-syscall-events-callstack%2Fgen-syscall-events-callstack.c;h=9d3e030b7f2c0079169a51c34983e14e612e1e84;hb=f3af9f34ce10b8eb2c99541b1adce9bb0ac16998;hp=5ad362f3b374caccb5b765117fedd3ff6bb1b132;hpb=701a99d1cf638273320db3ce52cf52816129d95a;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-syscall-events-callstack/gen-syscall-events-callstack.c b/tests/utils/testapp/gen-syscall-events-callstack/gen-syscall-events-callstack.c index 5ad362f3b..9d3e030b7 100644 --- a/tests/utils/testapp/gen-syscall-events-callstack/gen-syscall-events-callstack.c +++ b/tests/utils/testapp/gen-syscall-events-callstack/gen-syscall-events-callstack.c @@ -1,18 +1,8 @@ /* - * Copyright (C) - 2017 Francis Deslauriers + * Copyright (C) 2017 Francis Deslauriers * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published by the - * Free Software Foundation; version 2.1 of the License. + * SPDX-License-Identifier: LGPL-2.1-only * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include @@ -55,7 +45,7 @@ my_gettid(void) : "0"(__NR_gettid) : "cc", "rcx", "r11", "memory" ); -#elif __i386 +#elif defined(__i386) asm volatile ( "int $0x80"