summaryrefslogtreecommitdiff
path: root/Source/cmMakefileProfilingData.cxx
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-07-13 10:22:22 +1000
committerCraig Scott <craig.scott@crascit.com>2020-07-13 11:03:05 +1000
commit7cf2f7d2af708d262fc57b19c76b8d2fc63386e9 (patch)
tree0efa30fdc3c65d09dfe1648047c82541246ada8c /Source/cmMakefileProfilingData.cxx
parent6ab08c4e99469439900c1cdc02fd2452ab268a87 (diff)
downloadcmake-7cf2f7d2af708d262fc57b19c76b8d2fc63386e9.tar.gz
cmake: Store lowercase command names in profiling output
This ensures commands can be properly aggregated by tools processing the profiling output. Fixes: #20946
Diffstat (limited to 'Source/cmMakefileProfilingData.cxx')
-rw-r--r--Source/cmMakefileProfilingData.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileProfilingData.cxx b/Source/cmMakefileProfilingData.cxx
index e0150dc1bf..29fd440514 100644
--- a/Source/cmMakefileProfilingData.cxx
+++ b/Source/cmMakefileProfilingData.cxx
@@ -58,7 +58,7 @@ void cmMakefileProfilingData::StartEntry(const cmListFileFunction& lff,
cmsys::SystemInformation info;
Json::Value v;
v["ph"] = "B";
- v["name"] = lff.Name.Original;
+ v["name"] = lff.Name.Lower;
v["cat"] = "cmake";
v["ts"] = Json::Value::UInt64(
std::chrono::duration_cast<std::chrono::microseconds>(