Skip to content

Commit e844e8a

Browse files
committed
exclude gprofiler and perf
1 parent eb3ba7f commit e844e8a

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

gprofiler/utils/perf_process.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,17 @@ def wait_and_script(self) -> str:
190190
perf_data = inject_data
191191

192192
perf_script_proc = run_process(
193-
[perf_path(), "script", "-F", "+pid,+symline", "--no-addr2line-errors", "-i", str(perf_data)],
193+
[
194+
perf_path(),
195+
"script",
196+
"-F",
197+
"+pid,+symline",
198+
"-X",
199+
"perf,gprofiler",
200+
"--no-addr2line-errors",
201+
"-i",
202+
str(perf_data),
203+
],
194204
suppress_log=True,
195205
)
196206
return perf_script_proc.stdout.decode("utf8")

scripts/perf_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
set -euo pipefail
1818

1919
# downloading the zip because the git is very large (this is also very large, but still smaller)
20-
curl -SL https://codeload.github.com/Granulate/linux/zip/b6107ebc2839e99eee8dff55adca75871b595395 -o linux.zip
20+
curl -SL https://codeload.github.com/Granulate/linux/zip/169b16658825031b20e32b34c5aedc22ed093abc -o linux.zip
2121
unzip -qq linux.zip
2222
rm linux.zip
2323
cd linux-*/

0 commit comments

Comments
 (0)