디버깅 도구 사용
기본적으로 perf는 Container-Optimized OS에 설치됩니다. 셸 명령줄의 cos
인스턴스에서 perf
을 실행할 수 있습니다.
다음 명령어를 사용하여 제한적 권한을 갖는 경우 성능 이벤트 시스템을 사용 설정해야 합니다.
echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
perf 사용법에 대한 정보는 perf
매뉴얼 및 커널 sysctl 설정을 참조하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-04-21(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-04-21(UTC)"],[[["The `perf` tool is pre-installed on Container-Optimized OS."],["You can directly execute `perf` commands on your `cos` instance via the command line."],["Elevated permissions might be required to enable performance events, which can be achieved by using the provided command."],["For guidance on utilizing `perf`, consult the `perf` manual and kernel sysctl settings."]]],[]]