[llvm] [BOLT] Filter itrace from perf script mmap & task events (PR #69585)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 19 03:29:29 PDT 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff b3c4f64943dcabe990c8d23c90de5e8c2cd199d0 76adef4eacb61c48f1c98f0ffb274d6218417ad8 -- bolt/lib/Profile/DataAggregator.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/bolt/lib/Profile/DataAggregator.cpp b/bolt/lib/Profile/DataAggregator.cpp
index b26346a4d..b72bd0edf 100644
--- a/bolt/lib/Profile/DataAggregator.cpp
+++ b/bolt/lib/Profile/DataAggregator.cpp
@@ -181,15 +181,13 @@ void DataAggregator::start() {
"script -F pid,event,addr,ip",
/*Wait = */false);
- launchPerfProcess("process events",
- MMapEventsPPI,
+ launchPerfProcess("process events", MMapEventsPPI,
"script --show-mmap-events --no-itrace",
- /*Wait = */false);
+ /*Wait = */ false);
- launchPerfProcess("task events",
- TaskEventsPPI,
+ launchPerfProcess("task events", TaskEventsPPI,
"script --show-task-events --no-itrace",
- /*Wait = */false);
+ /*Wait = */ false);
}
void DataAggregator::abort() {
``````````
</details>
https://github.com/llvm/llvm-project/pull/69585
More information about the llvm-commits
mailing list