Skip to Content
BPF로 리눅스 관측 가능성 향상하기: 성능 분석과 네트워킹을 위한 고급 프로그래밍
book

BPF로 리눅스 관측 가능성 향상하기: 성능 분석과 네트워킹을 위한 고급 프로그래밍

by 류광, 데이비드 칼라베라, 로렌초 폰타나
May 2020
Beginner to intermediate
236 pages
5h 15m
Korean
Hanbit Media, Inc.
Content preview from BPF로 리눅스 관측 가능성 향상하기: 성능 분석과 네트워킹을 위한 고급 프로그래밍
5
BPF 유틸리티
120
52: cgroup_skb tag 7be49e3934a125ba run_time_ns 14397 run_cnt 39
loaded_at 2019-03-28T16:46:04-0700 uid 0
xlated 296B jited 229B memlock 4096B map_ids 52,53
BPFTool
로 할 수 있는 일이 현재 실행 중인 프로그램들에 관한 정보를 얻는 것만은 아니
다.
BPFTool
은 새 프로그램을 커널에 적재하고 소켓이나
cgroup
에 부착하는 기능도 제공한
다. 예를 들어 다음은 컴파일된
BPF
프로그램을 커널에 적재하고
BPF
파일 시스템에 고정하
는 명령이다.
# bpftool prog load bpf_prog.o /sys/fs/bpf/bpf_prog
프로그램이 파일 시스템에 고정되었으므로, 실행이 끝나도 사라지지 않는다. 앞의
show
명령
을 실행하면 프로그램이 여전히 커널에 적재되어 있음을 확인할 수 있다.
# bpftool prog show
52: cgroup_skb tag 7be49e3934a125ba
loaded_at 2019-03-28T16:46:04-0700 uid 0
xlated 296B jited 229B memlock 4096B map_ids 52,53
53: cgroup_skb tag 2a142ef67aaad174 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

컨테이너 보안: 컨테이너화된 응용 프로그램의 보안을 위한 개념, 이론, 대응법과 모범 관행까지

컨테이너 보안: 컨테이너화된 응용 프로그램의 보안을 위한 개념, 이론, 대응법과 모범 관행까지

류광, 리즈 라이스

Publisher Resources

ISBN: 9791162243053