]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/dtrace-static-probes/main.c
bbce55fcc103971f4a88bab54b51c72b33d2f961
[apple/ld64.git] / unit-tests / test-cases / dtrace-static-probes / main.c
1
2 #include <stdio.h>
3
4 typedef int weirdType;
5 typedef int weirdType2;
6
7 #include "foo.h"
8 #include "bar.h"
9
10
11 int deadwood()
12 {
13 BAR_COUNT1(2);
14 }
15
16
17 int main() {
18 int a = 1;
19
20 while(a) {
21 FOO_COUNT1(1);
22 printf("test\n");
23 BAR_COUNT1(2);
24 sleep(1);
25 }
26
27 return 0;
28 }