Skip to content

Suppress the perf script crash with logging if it happens#994

Closed
mlim19 wants to merge 2 commits into
masterfrom
handle_perf_script_crash
Closed

Suppress the perf script crash with logging if it happens#994
mlim19 wants to merge 2 commits into
masterfrom
handle_perf_script_crash

Conversation

@mlim19

@mlim19 mlim19 commented Aug 28, 2025

Copy link
Copy Markdown
Contributor

this patch fixes #992.

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots

Checklist:

  • I have read the CONTRIBUTING document.
  • I have updated the relevant documentation.
  • I have added tests for new logic.

[perf_path(), "script", "-F", "+pid", "-i", str(perf_data)],
suppress_log=True,
)
perf_script_cmd = [perf_path(), "script", "-F", "+pid", "-i", str(perf_data)]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @mlim19 for the error handling fix,
To make sure we see samples in the ui when perf fails, we also need this fix : pinterest@3b33e31

I can get it committed.

But curious if we can solve the root cause of version compatibility to support perf on g family.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prashantbytesyntax, your fix looks good to me. You can combine it in this PR or submit it separately.

@mlim19 mlim19 force-pushed the handle_perf_script_crash branch from 937cd12 to 490f182 Compare August 29, 2025 23:12
Signed-off-by: Min Lim <min.yeol.lim@intel.com>
@dkorlovs dkorlovs force-pushed the handle_perf_script_crash branch from 490f182 to 0b0723f Compare August 29, 2025 23:18
@mlim19

mlim19 commented Sep 12, 2025

Copy link
Copy Markdown
Contributor Author

Discard this PR because it's merged as a part of other PR.

@mlim19 mlim19 closed this Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CPU profiling on GPU machines

2 participants