d4304541d34a7a451f8d001857aea304ef96ecd4
[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();
12 void __attribute__ ((noinline)) test_function()
13 {
14 not_a_function += 1;
15 }
16
17 int main(int argc, char *argv[])
18 {
19 test_function();
20 dynamic_symbol(42);
21 return 0;
22 }
This page took 0.04033 seconds and 3 git commands to generate.