base/utils/backtrace.zeek

Summary

Functions

print_backtrace: function Prints a Zeek function call stack.

Detailed Interface

Functions

print_backtrace
Type:function (show_args: bool &default = F &optional, one_line: bool &default = F &optional, one_line_delim: string &default = "|" &optional, skip: count &default = 1 &optional, to_file: file &default = file "/dev/stdout" of string &optional) : void

Prints a Zeek function call stack.

Show_args:whether to print function argument names/types/values.
One_line:whether to print the stack in a single line or multiple.
One_line_delim:delimiter between stack elements if printing to one line.
Skip:the number of call stack elements to skip past, starting from zero, with that being the call to this function.
To_file:the file to which the call stack will be printed.

See also: backtrace