Skip to content

Commit

Permalink
exclude gprofiler and py-spy
Browse files Browse the repository at this point in the history
  • Loading branch information
slicklash committed Oct 29, 2024
1 parent eb3ba7f commit 3c9d369
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion gprofiler/utils/perf_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,17 @@ def wait_and_script(self) -> str:
perf_data = inject_data

perf_script_proc = run_process(
[perf_path(), "script", "-F", "+pid,+symline", "--no-addr2line-errors", "-i", str(perf_data)],
[
perf_path(),
"script",
"-F",
"+pid,+symline",
"-X",
"gprofiler,py-spy",
"--no-addr2line-errors",
"-i",
str(perf_data),
],
suppress_log=True,
)
return perf_script_proc.stdout.decode("utf8")
Expand Down
2 changes: 1 addition & 1 deletion scripts/perf_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
set -euo pipefail

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

0 comments on commit 3c9d369

Please sign in to comment.