[Lldb-commits] [PATCH] D120595: [WIP][trace][intelpt] Add TSC to Nanosecond conversion for IntelPT traces
walter erquinigo via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 10 05:40:04 PST 2022
wallace added inline comments.
================
Comment at: lldb/docs/lldb-gdb-remote.txt:455
+// }],
+// "tsc_conversion"?: Optional<{
+// "kind": <string>,
----------------
wallace wrote:
> wallace wrote:
> > wallace wrote:
> > > The ? After the key name makes Optional<> redundant. Just keep the ?
> >
> let's make this more generic for any kind of counter we might want to include in a trace, including ones that could come from PT_WRITE, so let's call it `counter_conversion`
After some more thoughts, let's just call this field 'counters'. And we can put any information related to any kind of counters.
So, we have something like
"counters"?: [{
... The tsc conversion object
}]
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120595/new/
https://reviews.llvm.org/D120595
More information about the lldb-commits
mailing list