Tracing

Option: --trace <trace-group>

Each function in the code base, other than utility functions, is assigned to a trace group. This option enables trace messages for a group.

Can be specified more than once to trace multiple groups.

Option: --trcfile <file name>

Enable trace messages in a single file. The argument is a simple file name, e.g. "ddc_services.c".

Can be specified more than once to trace multiple files.

Option: --trcfunc <function name>

Enable trace messages in a particular function.

Can be specified more than once to trace multiple functions.

Option: --trcfrom <function name>

Enable trace messages in a particular function and in all functinons called by that function.

Can be specified more than once to trace multiple files.

Option: --timestamp, --ts

Prefix trace messages with the number of seconds since ddcutil startup

Option: --wall-timestamp, --wts

Prefix trace messages with the current clock time.

Option: --thread_id, --tid

Prefix trace messages with the the thread number. This is the Linux thread id.

Option: --thread_id, --tid

Prefix trace messages with the the process number. This is the Linux process id.

Other Debug Options

Option: -excp

Portions of the ddcutil code base use an exception-like mechanism that can record the individual errors that contribute to a master error. If this option is specified, the exceptions are displayed before conversion to a single status code.

Option: --trace-to_syslog-only

Option: --stats-to-syslog

Option: --debug-parse

Option: --parse-only

Option: --failsim

Option: --quickenv

Option: --enable-mock-data

Option: --force-null-msg-for-unsupported