[Lldb-commits] [PATCH] D127986: [lldb] Support a buffered logging mode

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 16 10:45:57 PDT 2022


clayborg added a comment.

Something like:

  (lldb) log enable --buffered 100000 lldb process state thread step

If we do this, then we need to be able to specify which buffers to dump somehow. In case someone did:

  (lldb) log enable --buffered 100000 lldb ...
  (lldb) log enable --buffered 100000 dwarf ...

I the user types "log buffer dump" then all streams would be dumped, maybe with a prefix like:

  "lldb" log messages:
  ...
  "dwarf" log messages:
  ...

Or we might be able to specify one or more channels to get just the ones we want:

  (lldb) log buffered dump lldb
  (lldb) log buffered dump dwarf
  (lldb) log buffered dump lldb dwarf


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127986/new/

https://reviews.llvm.org/D127986



More information about the lldb-commits mailing list