Pass correct parameter

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove unused code

Signed-off-by: Michal Čihař <michal@cihar.com>
Separate function call formatting in backtrace

Signed-off-by: Michal Čihař <michal@cihar.com>