diff options
author | Kent Sebastian <ksebasti@redhat.com> | 2009-07-31 16:34:25 -0400 |
---|---|---|
committer | Kent Sebastian <ksebasti@redhat.com> | 2009-07-31 16:34:25 -0400 |
commit | b6647d0463cc550fc391b3fb347ddb8bd354d5ae (patch) | |
tree | 05e5d84350eb263beec38ffb2a09815751427c96 /testsuite/systemtap.context/uprobe_stmt_num.c | |
parent | ce91eebdf6c262a0235bdd2d3ad3acd0805bf02a (diff) | |
parent | 793e611dc277b6943100a5f81274961d526f9b02 (diff) | |
download | systemtap-steved-b6647d0463cc550fc391b3fb347ddb8bd354d5ae.tar.gz systemtap-steved-b6647d0463cc550fc391b3fb347ddb8bd354d5ae.tar.xz systemtap-steved-b6647d0463cc550fc391b3fb347ddb8bd354d5ae.zip |
Merge branch 'master' of git+ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.context/uprobe_stmt_num.c')
-rw-r--r-- | testsuite/systemtap.context/uprobe_stmt_num.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/systemtap.context/uprobe_stmt_num.c b/testsuite/systemtap.context/uprobe_stmt_num.c new file mode 100644 index 00000000..887e572a --- /dev/null +++ b/testsuite/systemtap.context/uprobe_stmt_num.c @@ -0,0 +1,20 @@ +static int +func2 (int x, int y) +{ + return x + y; +} + +static int +func (int arg) +{ + int x = 16; + int y = arg - x; + int z = func2(x, y); + return x + y + z; +} + +int +main (int argc, char *argv[], char *envp[]) +{ + return func(42); +} |