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
= get_variable_from_expr(expr
->fn
, NULL
);
21 sm_msg("info: func_call %s", fn_name
);
25 void check_call_tree(int id
)
27 if (!option_call_tree
)
30 add_hook(&match_call
, FUNCTION_CALL_HOOK
);