vscode: Add configurations to run the executables under the debugger
[lttng-tools.git] / tests / utils / testapp / userspace-probe-elf-binary / userspace-probe-elf-binary.c
1 /*
2 * Copyright (C) 2017 Francis Deslauriers <francis.deslauriers@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 *
6 */
7
8 #include "foo.h"
9 volatile int not_a_function = 0;
10
11 void __attribute__((noinline)) test_function(void);
12 void __attribute__((noinline)) test_function(void)
13 {
14 not_a_function += 1;
15 }
16
17 int main(void)
18 {
19 test_function();
20 dynamic_symbol(42);
21 return 0;
22 }
This page took 0.030262 seconds and 5 git commands to generate.