Skip to content

Commit 10ec3bc

Browse files
authored
[TraceIntelPT]Migrate to new function template for TraceIntelPT (#71258)
Easy change. Migrate to new template function call. More context: 6f8b33f
1 parent 423ad04 commit 10ec3bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ TraceIntelPT::PluginProperties::PluginProperties() : Properties() {
6060
uint64_t
6161
TraceIntelPT::PluginProperties::GetInfiniteDecodingLoopVerificationThreshold() {
6262
const uint32_t idx = ePropertyInfiniteDecodingLoopVerificationThreshold;
63-
return m_collection_sp->GetPropertyAtIndexAsUInt64(
64-
nullptr, idx, g_traceintelpt_properties[idx].default_uint_value);
63+
return GetPropertyAtIndexAs<uint64_t>(
64+
idx, g_traceintelpt_properties[idx].default_uint_value);
6565
}
6666

6767
uint64_t TraceIntelPT::PluginProperties::GetExtremelyLargeDecodingThreshold() {
6868
const uint32_t idx = ePropertyExtremelyLargeDecodingThreshold;
69-
return m_collection_sp->GetPropertyAtIndexAsUInt64(
70-
nullptr, idx, g_traceintelpt_properties[idx].default_uint_value);
69+
return GetPropertyAtIndexAs<uint64_t>(
70+
idx, g_traceintelpt_properties[idx].default_uint_value);
7171
}
7272

7373
TraceIntelPT::PluginProperties &TraceIntelPT::GetGlobalProperties() {

0 commit comments

Comments
 (0)