2 * sparse/check_call_tree.c
4 * Copyright (C) 2009 Dan Carpenter.
6 * Licensed under the Open Software License version 1.1
14 static void match_call(struct expression
*expr
)
18 fn_name
= expr_to_var(expr
->fn
);
22 sm_printf("info: func_call (");
24 sm_printf(") %s\n", fn_name
);
28 void check_call_tree(int id
)
30 if (!option_call_tree
)
33 add_hook(&match_call
, FUNCTION_CALL_HOOK
);