[webkit-reviews] review granted: [Bug 226236] [webkitpy] Use existing signal handler when printing stacktrace : [Attachment 429950] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 27 16:36:54 PDT 2021

dewei_zhu at apple.com has granted Jonathan Bedard <jbedard at apple.com>'s request
for review:
Bug 226236: [webkitpy] Use existing signal handler when printing stacktrace

Attachment 429950: Patch


--- Comment #6 from dewei_zhu at apple.com ---
Comment on attachment 429950
  --> https://bugs.webkit.org/attachment.cgi?id=429950

View in context: https://bugs.webkit.org/attachment.cgi?id=429950&action=review


> Tools/Scripts/webkitpy/common/interrupt_debugging.py:66
> +def log_stack_trace_on_signal(signum, output_file=None):

Would it a better logging info if we pass sig_name instead of signum?

log_stack_trace_on_signal('SIGTERM', output_file=stack_trace_path)
log_stack_trace_on_signal('SIGINT', output_file=stack_trace_path)

More information about the webkit-reviews mailing list