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:
- 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/.
rtla-osnoise¶
Đo tiếng ồn của hệ điều hành¶
- Phần hướng dẫn sử dụng:
1
SYNOPSIS¶
ZZ0000ZZ [ZZ0001ZZ] ...
DESCRIPTION¶
The rtla osnoise tool is an interface for the osnoise tracer. The osnoise tracer dispatches a kernel thread per-cpu. These threads read the time in a loop while with preemption, softirq and IRQs enabled, thus allowing all the sources of operating system noise during its execution. The osnoise’s tracer threads take note of the delta between each time read, along with an interference counter of all sources of interference. At the end of each period, the osnoise tracer displays a summary of the results.
Trình theo dõi ZZ0004ZZ xuất thông tin theo hai cách. Nó in định kỳ bản tóm tắt về tiếng ồn của hệ điều hành, bao gồm cả bộ đếm của sự xuất hiện của nguồn nhiễu. Nó cũng cung cấp thông tin cho mỗi tiếng ồn thông qua các điểm theo dõi ZZ0000ZZ. ZZ0001ZZ chế độ hiển thị thông tin về bản tóm tắt định kỳ từ công cụ theo dõi ZZ0005ZZ. Chế độ ZZ0002ZZ hiển thị thông tin về tiếng ồn bằng cách sử dụng điểm theo dõi ZZ0003ZZ. Để biết thêm chi tiết, vui lòng tham khảo trang man tương ứng.
MODES¶
ZZ0000ZZ
In bản tóm tắt từ osnoise tracer.
ZZ0000ZZ
In biểu đồ của các mẫu nhiễu.
Nếu không có MODE nào được đưa ra, chế độ trên cùng sẽ được gọi, truyền các đối số.
OPTIONS¶
ZZ0000ZZ, ZZ0001ZZ
Hiển thị văn bản trợ giúp.
Đối với các tùy chọn khác, hãy xem trang man để biết chế độ tương ứng.
SEE ALSO¶
ZZ0000ZZ(1), ZZ0001ZZ(1)
ZZ0000ZZ
SIGINT BEHAVIOR¶
On the first SIGINT, RTLA exits after collecting all outstanding samples up to the point of receiving the signal.
When receiving more than one SIGINT, RTLA discards any outstanding samples, and exits while displaying only samples that have already been processed.
If SIGINT is received during RTLA cleanup, RTLA exits immediately via the default signal handler.
Note: For the purpose of SIGINT behavior, the expiry of duration specified via the -d/--duration option is treated as equivalent to receiving a SIGINT. For example, a SIGINT received after duration expired but samples have not been processed yet will drop any outstanding samples.
Also note that when using the timerlat tool in BPF mode, samples are processed in-kernel; RTLA only copies them out to display them to the user. A second SIGINT does not affect in-kernel sample aggregation.
EXIT STATUS¶
0 Passed: the test did not hit the stop tracing condition
1 Error: invalid argument
2 Failed: the test hit the stop tracing condition
REPORTING BUGS¶
Report bugs to <linux-kernel@vger.kernel.org> and <linux-trace-devel@vger.kernel.org>
LICENSE¶
rtla is Free Software licensed under the GNU GPLv2
COPYING¶
Copyright (C) 2021 Red Hat, Inc. Free use of this software is granted under the terms of the GNU Public License (GPL).