tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-binary / userspace-probe-elf-binary.c
CommitLineData
a9c2df2b 1/*
9d16b343 2 * Copyright (C) 2017 Francis Deslauriers <francis.deslauriers@efficios.com>
a9c2df2b 3 *
9d16b343 4 * SPDX-License-Identifier: LGPL-2.1-or-later
a9c2df2b 5 *
a9c2df2b
FD
6 */
7
ef3dfe5d 8#include "foo.h"
a9c2df2b 9volatile int not_a_function = 0;
bcf66e7d
SM
10
11void __attribute__ ((noinline)) test_function();
12void __attribute__ ((noinline)) test_function()
a9c2df2b
FD
13{
14 not_a_function += 1;
15}
bcf66e7d 16
a9c2df2b
FD
17int main(int argc, char *argv[])
18{
19 test_function();
ef3dfe5d 20 dynamic_symbol(42);
a9c2df2b
FD
21 return 0;
22}
This page took 0.031172 seconds and 5 git commands to generate.