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.

Parameters
  • 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