Vietnamese (machine translation)

Lưu ý

Mục đích của file này là để độc giả tiếng Việt có thể đọc và hiểu tài liệu nhân kernel dễ dàng hơn, không phải để tạo ra một nhánh tài liệu riêng. Nếu bạn có bất kỳ nhận xét hoặc cập nhật nào cho file này, vui lòng thử cập nhật file tiếng Anh gốc trước. Nếu bạn thấy có sự khác biệt giữa bản dịch và bản gốc, hoặc có vấn đề về bản dịch, vui lòng gửi góp ý hoặc patch cho người dịch của file này, hoặc nhờ người bảo trì và người review tài liệu tiếng Việt giúp đỡ.

Bản gốc:

/proc/sys/debug/

Người dịch:

Google Translate (machine translation)

Phiên bản gốc:

8541d8f725c6

Cảnh báo

Tài liệu này được dịch tự động bằng máy và chưa được review bởi người dịch. Nội dung có thể không chính xác hoặc khó hiểu ở một số chỗ. Khi có sự khác biệt với bản gốc, bản gốc luôn là chuẩn. Bản dịch chất lượng cao (được review) được đặt trong thư mục vi_VN/.

/proc/sys/debug/

These files show up in /proc/sys/debug/, depending on the kernel configuration:

exception-trace

This flag controls whether the kernel prints information about unhandled signals (like segmentation faults) to the kernel log (dmesg).

  • 0: Unhandled signals are not traced.

  • 1: Information about unhandled signals is printed.

The default value is 1 on most architectures (like x86, MIPS, RISC-V), but it is 0 on arm64.

The actual information printed and the context provided varies significantly depending on the CPU architecture. For example:

  • On x86, it typically prints the instruction pointer (IP), error code, and address that caused a page fault.

  • On PowerPC, it may print the next instruction pointer (NIP), link register (LR), and other relevant registers.

When enabled, this feature is often rate-limited to prevent the kernel log from being flooded during a crash loop.

kprobes-optimization

This flag enables or disables the optimization of Kprobes on certain architectures (like x86).

  • 0: Kprobes optimization is turned off.

  • 1: Kprobes optimization is turned on (default).

For more details on Kprobes and its optimization, please refer to Kernel Probes (Kprobes).

Copyright (c) 2026, Shubham Chakraborty <chakrabortyshubham66@gmail.com>

For general info and legal blurb, please look in Documentation for /proc/sys.