function f() {
    println("enter f");
    exit();
    println("leave f");
}

function g() {
    println("enter g");
    f();
    println("leave g");
}

probe begin {
    g();
    printf("exit\n");
    exit();
}
