内容/目次
【事前準備】
- kernel-debug rpmパッケージの作成と導入
- ソースCD#3からkernel-2.6.9-n.EL.src.rpmを入手し、システムにアップロード
- kernel-2.6.9-n.EL.src.rpmの導入
rpm -ivh kernel-2.6.9-n.EL.src.rpm
- kernel-debuginfo-2.6.9-n.EL.s390x.rpmのビルド
rpmbuild -bb /usr/src/redhat/SPECS/kernel-2.6.spec
- kernel-debuginfoパッケージの導入
rpm -ivh /usr/src/redhat/RPMS/s390x/kernel-debuginfo-2.6.9-n.EL.root.s390x.rpm
- ソースCD#3からkernel-2.6.9-n.EL.src.rpmを入手し、システムにアップロード
- (s390およびs390xアーキテクチャのみ)周期的なタイマー割り込み(1秒に100回)をオン(デフォルト : オフ)に変更
sysctl -w kernel.hz_timer=1
- カーネル監視の設定
opcontrol --vmlinux=/usr/lib/debug/lib/modules/2.6.9-n.EL.root/vmlinux
(参考) カーネル監視を行わない場合の設定
opcontrol --novmlinux
- プロファイリングの開始
opcontrol --start
上記コマンドによりoprofiledが起動され、プロファイリングバッファのデータが周期的に/var/lib/oprofile/samples/以下のディレクトリに書き出される。
- テスト開始 ~ 実行 ~ 終了
- サンプルファイルへの書き出し
opcontrol --dump
サンプルファイルを読み出してデータ分析を行うためには、上記コマンドにてプロファイリングバッファを完全にサンプルファイルに書き出しておく必要がある。
- プロファイリングの終了
opcontrol --shutdown
- レポートの取得
opreport -l
出力例
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples % app name symbol name
51600 40.8609 vmlinux default_idle
4346 3.4415 libOM.so cdr_align_bytes
4034 3.1944 libOM.so logtrace_write
2684 2.1254 vmlinux _write_trylock
2575 2.0391 libOM.so anonymous symbol from section .plt
2328 1.8435 vmlinux sys_semtimedop
2129 1.6859 libOM.so OD_LogTrace
1861 1.4737 vmlinux lookup_undo
1680 1.3304 libOM.so lt_start_move
1548 1.2258 vmlinux _spin_unlock_bh
1330 1.0532 vmlinux sysc_do_svc
1297 1.0271 libc-2.3.4.so memset
1221 0.9669 vmlinux try_atomic_semop
1200 0.9503 libc-2.3.4.so _int_malloc
1190 0.9423 qeth (no symbols)
1113 0.8814 vmlinux __do_softirq
1097 0.8687 libOM.so msg_listen_loop_reception
1032 0.8172 libc-2.3.4.so strcmp
932 0.7380 libOM.so cdr_bytes
852 0.6747 vmlinux _spin_unlock
798 0.6319 vmlinux __might_sleep
788 0.6240 vmlinux do_select
772 0.6113 vmlinux __copy_from_user_asm
766 0.6066 libc-2.3.4.so semop
735 0.5820 libc-2.3.4.so malloc
675 0.5345 vmlinux do_gettimeofday
632 0.5005 libc-2.3.4.so free
615 0.4870 qdio (no symbols)
611 0.4838 vmlinux _spin_trylock
573 0.4537 vmlinux schedule
555 0.4395 libOM.so msg_listen_thread
542 0.4292 libOM.so OM_cdr_unsigned_long
535 0.4237 libOM.so OM_mem_untyped_alloc
528 0.4181 libpthread-2.3.4.so pthread_mutex_lock
525 0.4157 vmlinux sys_ipc
495 0.3920 vmlinux ipc_lock
471 0.3730 libc-2.3.4.so _int_free
460 0.3643 vmlinux __copy_to_user_asm
447 0.3540 vmlinux ipcperms
442 0.3500 libOM.so OM_get_resp_con_entry
388 0.3072 libOM.so OM_set_lock_info
380 0.3009 libOM.so OD_queue_dequeue
378 0.2993 libOM.so OM_getBufElm
373 0.2954 libpthread-2.3.4.so pthread_mutex_unlock
368 0.2914 libOM.so OM_req_lib_UNO_IIOP_decode_header
328 0.2597 libOM.so OM_boa_lib_operation_name_to_method
326 0.2582 libOM.so OD_msg_listen_ReadMessage2
320 0.2534 libOM.so OM_mem_untyped_free
319 0.2526 libOM.so message_receiver
317 0.2510 vmlinux tcp_sendmsg
309 0.2447 vmlinux fget
297 0.2352 libc-2.3.4.so malloc_consolidate
295 0.2336 vmlinux update_queue
279 0.2209 libOM.so OM_mem_typed_complex_alloc
277 0.2194 libOM.so OM_cdr_create
275 0.2178 libOM.so to_level
272 0.2154 libOM.so OM_req_lib_UNO_IIOP_decode_request_header
269 0.2130 libOM.so synch_recv_thread
261 0.2067 libOM.so OD_BUF_AllocImplBuffer
258 0.2043 vmlinux tcp_v4_rcv
255 0.2019 libOM.so OM_thread_synch_sem_release
255 0.2019 libOM.so cdr_char_ascii
247 0.1956 vmlinux sys_fcntl
246 0.1948 libOM.so logtrace_size
240 0.1901 libOM.so OM_thread_synch_sem_reserve
230 0.1821 libOM.so OM_cdr_object_key
226 0.1790 libOM.so OM_get_lock_info_ptr
224 0.1774 libOM.so thr_self
222 0.1758 libOM.so OM_boa_lib_create_obj_ref_ex
216 0.1710 libpthread-2.3.4.so __errno_location
214 0.1695 vmlinux ipc_unlock
201 0.1592 vmlinux tcp_ack
196 0.1552 libOM.so OM_mem_hdr_check
194 0.1536 vmlinux __kmalloc
194 0.1536 vmlinux kfree
190 0.1505 libOM.so OM_set_lock_info_vector
189 0.1497 libOM.so OM_req_lib_UNO_IIOP_recv_request
187 0.1481 vmlinux sys_gettimeofday
186 0.1473 vmlinux sysc_noemu
185 0.1465 vmlinux fput
181 0.1433 libOM.so cdr_any_support_support
179 0.1417 libOM.so OD_queue_simple_enqueue
177 0.1402 libOM.so OM_cdr_string_fixed
176 0.1394 libpthread-2.3.4.so pthread_self
174 0.1378 vmlinux tcp_transmit_skb
166 0.1315 libOM.so OM_buf_sem_reserve
166 0.1315 vmlinux skb_dequeue
163 0.1291 vmlinux sys_select
161 0.1275 libOM.so OM_impl_rep_db_lookup_id2
161 0.1275 libOM.so server_CORBA_ORB_TypeCode_from_cgen_TC
158 0.1251 libOM.so OM_CORBA_TypeCode_find_cgen_TC_list
158 0.1251 libOM.so OM_trace_mem_alloc
158 0.1251 libOM.so OM_trace_mem_free
157 0.1243 libc-2.3.4.so gettimeofday
156 0.1235 libOM.so OM_con_lib_UNO_IIOP_resp_fd_control
154 0.1219 libOM.so OM_resolve_service_context
153 0.1212 libOM.so OM_mem_typed_free_data_and_type_only
153 0.1212 libOM.so align_and_size_support
148 0.1172 vmlinux local_bh_enable
137 0.1085 libOM.so OM_con_resp_sem_reserve
132 0.1045 libOM.so OM_get_lock_info_ptr_vector
131 0.1037 vmlinux __kfree_skb
130 0.1029 vmlinux ip_queue_xmit
128 0.1014 libOM.so mutex_lock
128 0.1014 simple_s cdr_CORBA_sequence_octet
127 0.1006 libOM.so write_me_bytes
126 0.0998 libOM.so OM_ipc_sem_reserve_with_flg
126 0.0998 libOM.so OM_req_lib_UNO_IIOP_send_reply2
126 0.0998 libpthread-2.3.4.so fcntl
125 0.0990 simple_s skel_perf_intf1_op1
125 0.0990 vmlinux kmem_cache_free
125 0.0990 vmlinux tcp_recvmsg
120 0.0950 libOM.so OM_boa_lib_decompute_obj_key
116 0.0919 libOM.so OM_CORBA_TypeCode_get_size_kind
115 0.0911 libOM.so OM_req_lib_clear_req_svc_ctx_list
113 0.0895 libOM.so OD_queue_impl_lock
111 0.0879 libOM.so OM_buf_sem_release
110 0.0871 libOM.so OM_CORBA_TypeCode_from_cgen_TC
109 0.0863 libOM.so OM_fcntl
107 0.0847 libOM.so OM_boa_lib_object_key_to_impl_state
107 0.0847 vmlinux skb_release_data
106 0.0839 libOM.so OM_req_lib_UNO_IIOP_encode_reply_header_support2
104 0.0824 libOM.so mutex_unlock
104 0.0824 vmlinux ip_rcv
103 0.0816 libc-2.3.4.so strncmp
100 0.0792 vmlinux skb_clone
99 0.0784 libOM.so OD_queue_impl_unlock
99 0.0784 vmlinux sys_socketcall
98 0.0776 libOM.so OM_boa_lib_delete_obj_ref
98 0.0776 libOM.so OM_cdr_octet
98 0.0776 libOM.so cdr_any_support
97 0.0768 libOM.so OM_logtr2aclog
97 0.0768 vmlinux _spin_lock_irqsave
96 0.0760 libOM.so OM_cdr_unsigned_short
96 0.0760 libOM.so OM_ipc_sem_release_with_flg
95 0.0752 libOM.so CORBA_TC_typed_mem_alloc
95 0.0752 libOM.so log2_logging
95 0.0752 vmlinux ipc_checkid
95 0.0752 vmlinux tcp_poll
92 0.0729 libOM.so log2_writable
91 0.0721 libOM.so OD_BUF_FreeBufferSub
88 0.0697 libOM.so OM_req_lib_add_svc_ctx
87 0.0689 libOM.so OM_cdr_long
87 0.0689 libOM.so OM_req_lib_clear_svc_ctx_list
87 0.0689 vmlinux skb_checksum
85 0.0673 vmlinux qdisc_restart
84 0.0665 simple_s anonymous symbol from section .plt
84 0.0665 vmlinux tcp_data_queue
82 0.0649 libOM.so OM_con_resp_sem_release
82 0.0649 vmlinux netif_receive_skb
82 0.0649 vmlinux sockfd_lookup
80 0.0634 vmlinux net_tx_action
80 0.0634 vmlinux sysc_return
79 0.0626 libOM.so OM_impl_rep_db_sem_reserve
79 0.0626 libOM.so OM_req_lib_UNO_IIOP_encode_header2
79 0.0626 libOM.so OM_req_lib_alloc_svc_ctx
79 0.0626 vmlinux _read_lock_irqsave
79 0.0626 vmlinux _spin_lock_irq
78 0.0618 libOM.so cdr_fj_svc_ctx
78 0.0618 vmlinux ip_route_input
76 0.0602 libOM.so OM_leave_nostop_section
75 0.0594 vmlinux free_hot_cold_page
75 0.0594 vmlinux skb_dequeue_tail
74 0.0586 libOM.so OM_get_resp_requests_entry
74 0.0586 libOM.so _operation_name_to_method2
73 0.0578 libOM.so OM_cdr_boolean
73 0.0578 libOM.so OM_cdr_reserve_unsigned_long
73 0.0578 vmlinux kmem_cache_alloc
72 0.0570 libOM.so OD_queue_local_unlock
72 0.0570 libOM.so objref_clr
72 0.0570 libpthread-2.3.4.so recv
72 0.0570 simple_s perf_intf1_op1
72 0.0570 vmlinux ip_local_deliver
71 0.0562 vmlinux _write_unlock
71 0.0562 vmlinux established_get_next
70 0.0554 libOM.so OM_snap_write_recv_request
70 0.0554 libOM.so server_CORBA_TypeCode_duplicate
70 0.0554 vmlinux dev_queue_xmit
69 0.0546 libOM.so OM_cdr_set_unsigned_long
68 0.0538 libOM.so read_svc_ctx
68 0.0538 vmlinux ip_output
67 0.0531 vmlinux buffered_rmqueue
67 0.0531 vmlinux tcp_write_xmit
65 0.0515 libOM.so OD_msg_listen_ReadMessage
65 0.0515 vmlinux tcp_rcv_established
64 0.0507 libOM.so OM_boa_lib_create_obj_ref_sub
64 0.0507 simple_s CORBA_sequence_octet_alloc
63 0.0499 libOM.so OM_snap_write_que_in
63 0.0499 libOM.so cdr_set_byte_swap
63 0.0499 vmlinux alloc_skb
62 0.0491 libOM.so OM_impl_rep_db_lookup
62 0.0491 libOM.so OM_req_lib_trace_skel_begin
61 0.0483 libOM.so OD_queue_enqueue
61 0.0483 libOM.so OM_req_lib_UNO_IIOP_responder_request_create
61 0.0483 vmlinux mod_timer
60 0.0475 libOM.so OM_free_resp_requests
60 0.0475 libOM.so OM_mem_typed_free
60 0.0475 libOM.so OM_select
60 0.0475 vmlinux tcp_event_data_recv
59 0.0467 libOM.so OD_BUF_FreeImplBuffer
59 0.0467 vmlinux sock_sendmsg
58 0.0459 libOM.so OM_con_lib_UNO_IIOP_resp_request_complete_sub
58 0.0459 libOM.so OM_resp_requests_sem_reserve
58 0.0459 libOM.so server_CORBA_TypeCode_destroy
58 0.0459 libOM.so server_CORBA_TypeCode_destroy_support
58 0.0459 vmlinux audit_socketcall
57 0.0451 libOM.so encode_reply_other_svc_ctx
56 0.0443 libOM.so OM_cdr_sequence_octet_fixed
55 0.0436 libOM.so OM_req_lib_trace_skel_end
55 0.0436 vmlinux inet_sendmsg
55 0.0436 vmlinux tcp_current_mss
54 0.0428 libOM.so OM_req_lib_server_shell
54 0.0428 libOM.so OM_snap_write_send_reply
54 0.0428 vmlinux established_get_first
54 0.0428 vmlinux ip_finish_output
53 0.0420 libOM.so OM_resp_requests_sem_release
52 0.0412 libOM.so OM_cdr_any_value_only
52 0.0412 libpthread-2.3.4.so send
52 0.0412 vmlinux sock_recvmsg
51 0.0404 vmlinux lock_sock
50 0.0396 libOM.so OM_req_lib_clear_allocate_memory
50 0.0396 libc-2.3.4.so __libc_disable_asynccancel
50 0.0396 vmlinux __alloc_pages
49 0.0388 libOM.so OM_tc_unlock2
49 0.0388 libc-2.3.4.so setdomainname
48 0.0380 libc-2.3.4.so strcpy
48 0.0380 vmlinux process_backlog
47 0.0372 vmlinux __free_pages
46 0.0364 libOM.so OM_recv
46 0.0364 libOM.so OM_req_lib_responder_codes
46 0.0364 libOM.so OM_tc_lock2
46 0.0364 vmlinux poll_freewait
45 0.0356 vmlinux sock_wfree
44 0.0348 libOM.so OM_ipc_sem_reserve
44 0.0348 vmlinux _read_lock
43 0.0341 libOM.so OM_logtrace_mutex_reserve
43 0.0341 libOM.so OM_req_lib_set_req_svc_ctx_list
43 0.0341 libOM.so fj_info_encode
43 0.0341 vmlinux sock_poll
42 0.0333 libOM.so OM_enter_nostop_section
42 0.0333 libOM.so OM_req_lib_clear_princiapl
42 0.0333 vmlinux _spin_lock_bh
42 0.0333 vmlinux do_softirq
41 0.0325 vmlinux __pollwait
41 0.0325 vmlinux release_sock
41 0.0325 vmlinux tcp_v4_send_check
40 0.0317 libOM.so OD_BUF_FreePost
40 0.0317 libOM.so OM_send
40 0.0317 vmlinux pfifo_fast_enqueue
39 0.0309 libOM.so OM_cdr_destroy
39 0.0309 libOM.so OM_logtrace_mutex_release
38 0.0301 vmlinux net_rx_action
37 0.0293 libOM.so OM_cdr_initialize
37 0.0293 libOM.so trace_enqueue
36 0.0285 libOM.so OD_queue_fifo_enqueue
36 0.0285 libOM.so OM_wait_resp_fd_synchronized
36 0.0285 libOM.so is_reply_svc_ctx_len_restricted
36 0.0285 libOM.so vendor_info_set
36 0.0285 libpthread-2.3.4.so __pthread_disable_asynccancel
36 0.0285 simple_s CORBA_sequence_octet_allocbuf
35 0.0277 libOM.so CORBA_free
35 0.0277 libOM.so OM_req_lib_get_total_svc_ctx_count
35 0.0277 libOM.so con_resp_share_table_svc_ctx
35 0.0277 vmlinux __cond_resched
35 0.0277 vmlinux __tcp_select_window
35 0.0277 vmlinux sched_clock
34 0.0269 vmlinux kfree_skbmem
34 0.0269 vmlinux pfifo_fast_dequeue
34 0.0269 vmlinux sock_def_readable
33 0.0261 libOM.so OM_ipc_sem_release
33 0.0261 libOM.so OM_proc_counter_mutex_release
33 0.0261 vmlinux __tcp_checksum_complete_user
32 0.0253 libOM.so OM_boa_lib_create_obj_ref
32 0.0253 libOM.so OM_proc_counter_mutex_reserve
32 0.0253 libOM.so cdr_any_check_basic
32 0.0253 vmlinux dummy_ipc_permission
31 0.0245 libOM.so encode_specific_svc_ctx
30 0.0238 libOM.so OM_con_write_resp_sem_release
30 0.0238 libOM.so cdr_any_support_support_basic
30 0.0238 vmlinux tcp_rtt_estimator
29 0.0230 libOM.so OM_req_lib_init_svc_ctx_list
29 0.0230 libOM.so OM_req_lib_server_thread
29 0.0230 vmlinux __get_free_pages
29 0.0230 vmlinux _read_unlock
29 0.0230 vmlinux nanosleep_restart
28 0.0222 libOM.so OM_getExtBufSharedMng
28 0.0222 libpthread-2.3.4.so __pthread_enable_asynccancel
28 0.0222 vmlinux memcpy_toiovec
27 0.0214 libOM.so OM_con_write_resp_sem_reserve
27 0.0214 libOM.so OM_impl_rep_db_sem_release
27 0.0214 libOM.so resolve_fj_svc_ctx
27 0.0214 vmlinux sock_mmap
27 0.0214 vmlinux sysc_do_restart
26 0.0206 libOM.so OM_req_lib_get_next_svc_ctx
26 0.0206 libOM.so get_intf_info
26 0.0206 libc-2.3.4.so time
26 0.0206 vmlinux _read_unlock_irqrestore
25 0.0198 libOM.so OM_trace_reply_send
25 0.0198 libOM.so con_resp_share_table_request_authenticate_info
25 0.0198 libc-2.3.4.so __libc_enable_asynccancel
25 0.0198 vmlinux dummy_sem_semop
25 0.0198 vmlinux free_pages
24 0.0190 libOM.so OM_con_lib_UNO_IIOP_resp_release_fd_write
24 0.0190 vmlinux __netdev_watchdog_up
23 0.0182 libOM.so call_postapl
23 0.0182 vmlinux pfifo_fast_requeue
23 0.0182 vmlinux sock_common_recvmsg
23 0.0182 vmlinux sys_recvfrom
22 0.0174 libOM.so OM_get_resp_requests_info_block
22 0.0174 vmlinux bad_range
22 0.0174 vmlinux schedule_timeout
22 0.0174 vmlinux skb_drop_fraglist
21 0.0166 libOM.so OM_boa_lib_recreate_obj_ref2
21 0.0166 libOM.so OM_get_resp_requests_info_all
21 0.0166 libOM.so align_and_size_support_gcc
21 0.0166 vmlinux sys_sendto
20 0.0158 libOM.so CORBA_sequence_set_release
20 0.0158 libOM.so OM_req_lib_get_total_svc_ctx_len
20 0.0158 libc-2.3.4.so _IO_vfscanf
20 0.0158 vmlinux cleanup_rbuf
20 0.0158 vmlinux sys_recv
20 0.0158 vmlinux tcp_urg
19 0.0150 libOM.so OM_req_lib_UNO_IIOP_encode_reply_header
19 0.0150 libOM.so OM_trace_request_receive
19 0.0150 libOM.so cdr_get_byte_swap
19 0.0150 libc-2.3.4.so select
19 0.0150 vmlinux finish_task_switch
19 0.0150 vmlinux ip_copy_metadata
19 0.0150 vmlinux number
19 0.0150 vmlinux pskb_expand_head
18 0.0143 libOM.so trace_read
18 0.0143 vmlinux sys_send
18 0.0143 vmlinux tcp_new_space
18 0.0143 vmlinux tcp_rcv_space_adjust
17 0.0135 libOM.so OM_req_lib_UNO_IIOP_responder_request_complete_sub
17 0.0135 vmlinux __wake_up
17 0.0135 vmlinux skb_queue_tail
17 0.0135 vmlinux tcp_v4_do_rcv
16 0.0127 libOM.so OM_con_lib_UNO_IIOP_resp_reserve_fd_read
16 0.0127 vmlinux add_wait_queue
16 0.0127 vmlinux sk_reset_timer
16 0.0127 vmlinux tcp_send_delayed_ack
15 0.0119 libc-2.3.4.so vfprintf
15 0.0119 vmlinux copy_skb_header
15 0.0119 vmlinux rt_hash_code
15 0.0119 vmlinux skb_copy_datagram_iovec
14 0.0111 libOM.so OM_trace_request_arrived
14 0.0111 libOM.so clean_req_local_type
14 0.0111 libOM.so delete_IOR_ProxyComponents_from_obj
14 0.0111 libOM.so trace_write
14 0.0111 vmlinux netif_rx
14 0.0111 vmlinux sysc_nr_ok
13 0.0103 libOM.so OD_NET_CheckBigMessage
13 0.0103 libOM.so OM_req_lib_UNO_IIOP_encode_header
13 0.0103 vmlinux __cond_resched_lock
13 0.0103 vmlinux __mod_timer
13 0.0103 vmlinux remove_wait_queue
13 0.0103 vmlinux sk_stream_rfree
13 0.0103 vmlinux tcp_close_state
12 0.0095 libOM.so OM_con_lib_UNO_IIOP_resp_reserve_fd_write
12 0.0095 libOM.so OM_req_lib_UNO_IIOP_get_cdr
12 0.0095 libOM.so call_preapl
12 0.0095 libc-2.3.4.so _itoa_word
12 0.0095 netstat (no symbols)
12 0.0095 vmlinux tcp_parse_options
12 0.0095 vmlinux wait_for_completion
11 0.0087 vmlinux __tcp_ack_snd_check
11 0.0087 vmlinux dummy_file_fcntl
11 0.0087 vmlinux skb_copy_and_csum_bits
11 0.0087 vmlinux sock_register
11 0.0087 vmlinux sock_setsockopt
10 0.0079 libOM.so OM_con_lib_UNO_IIOP_resp_release_fd_read
10 0.0079 libOM.so OM_req_lib_UNO_IIOP_responder_request_complete
10 0.0079 vmlinux kernel_recvmsg
10 0.0079 vmlinux memcpy_tokerneliovec
10 0.0079 vmlinux sk_stop_timer
9 0.0071 ld-2.3.4.so do_lookup_x
9 0.0071 libOM.so OM_boa_lib_object_key_to_intf_id
9 0.0071 libc-2.3.4.so __select_nocancel
9 0.0071 vmlinux ip_rcv_finish
9 0.0071 vmlinux tcp_ioctl
8 0.0063 libOM.so OM_req_lib_UNO_IIOP_send_reply
8 0.0063 vmlinux __ip_route_output_key
8 0.0063 vmlinux tcp_retransmit_skb
8 0.0063 vmlinux vsnprintf
7 0.0055 libOM.so get_iswitch_pid
7 0.0055 vmlinux inet_sendpage
7 0.0055 vmlinux kernel_sendmsg
7 0.0055 vmlinux task_rq_lock
7 0.0055 vmlinux tcp_set_skb_tso_segs
6 0.0048 libnss_files-2.3.4.so parse_line
6 0.0048 oprofiled (no symbols)
6 0.0048 vmlinux clear_page_tables
6 0.0048 vmlinux do_wp_page
6 0.0048 vmlinux skb_clone_fraglist
6 0.0048 vmlinux tcp_push_one
6 0.0048 vmlinux tcp_xmit_probe_skb
6 0.0048 vmlinux try_to_wake_up
5 0.0040 libOM.so cdr_special_vendor
5 0.0040 vmlinux io_reschedule
5 0.0040 vmlinux sock_alloc
5 0.0040 vmlinux sock_common_setsockopt
5 0.0040 vmlinux sock_def_write_space
5 0.0040 vmlinux sock_rfree
5 0.0040 vmlinux tcp_rcv_state_process
5 0.0040 vmlinux wake_up_process
4 0.0032 ipv6 (no symbols)
4 0.0032 libOM.so OM_share_lib_get_daemon_state
4 0.0032 libOM.so con_resp_share_table_svc_ctx_size
4 0.0032 libc-2.3.4.so __GI_____strtoull_l_internal
4 0.0032 libc-2.3.4.so __find_specmb
4 0.0032 libc-2.3.4.so msort_with_tmp
4 0.0032 libc-2.3.4.so rfc3484_sort
4 0.0032 vmlinux ip_mc_output
4 0.0032 vmlinux ipqhashfn
4 0.0032 vmlinux sk_stream_error
4 0.0032 vmlinux skb_copy_datagram
4 0.0032 vmlinux sys_setsockopt
4 0.0032 vmlinux tcp_get_idx
4 0.0032 vmlinux tcp_select_initial_window
4 0.0032 vmlinux tcp_v4_rebuild_header
3 0.0024 libc-2.3.4.so __ctype_b_loc
3 0.0024 libc-2.3.4.so inet_ntop
3 0.0024 vmlinux find_vma
3 0.0024 vmlinux free_hot_page
3 0.0024 vmlinux page_remove_rmap
3 0.0024 vmlinux poll_initwait
3 0.0024 vmlinux tcp_prequeue_process
2 0.0016 libOM.so OM_impl_rep_db_lookup_id
2 0.0016 libc-2.3.4.so _IO_default_xsputn
2 0.0016 libc-2.3.4.so _IO_getline_info
2 0.0016 libc-2.3.4.so _IO_sputbackc
2 0.0016 libc-2.3.4.so __dcigettext
2 0.0016 libc-2.3.4.so __gconv_transform_utf8_internal
2 0.0016 libc-2.3.4.so fcntl
2 0.0016 libc-2.3.4.so getenv
2 0.0016 libc-2.3.4.so mbrtowc
2 0.0016 libc-2.3.4.so memchr
2 0.0016 libc-2.3.4.so rawmemchr
2 0.0016 libc-2.3.4.so strchr
2 0.0016 libc-2.3.4.so tsearch
2 0.0016 libnss_dns-2.3.4.so _nss_dns_gethostbyaddr_r
2 0.0016 libnss_files-2.3.4.so _nss_files_parse_servent
2 0.0016 libnss_files-2.3.4.so anonymous symbol from section .plt
2 0.0016 vmlinux __d_lookup
2 0.0016 vmlinux atomic_dec_and_lock
2 0.0016 vmlinux d_alloc
2 0.0016 vmlinux do_dat_exception
2 0.0016 vmlinux do_munmap
2 0.0016 vmlinux do_protection_exception
2 0.0016 vmlinux handle_mm_fault
2 0.0016 vmlinux inet_create
2 0.0016 vmlinux ip_append_data
2 0.0016 vmlinux iput
2 0.0016 vmlinux mm_init
2 0.0016 vmlinux module_refcount
2 0.0016 vmlinux page_waitqueue
2 0.0016 vmlinux set_page_dirty
2 0.0016 vmlinux tasklet_action
2 0.0016 vmlinux tcp_v4_send_reset
2 0.0016 vmlinux unmap_vmas
1 7.9e-04 bash (no symbols)
1 7.9e-04 ld-2.3.4.so _dl_lookup_symbol_x
1 7.9e-04 ld-2.3.4.so _dl_name_match_p
1 7.9e-04 libc-2.3.4.so _IO_file_doallocate
1 7.9e-04 libc-2.3.4.so _IO_file_read
1 7.9e-04 libc-2.3.4.so _IO_getline
1 7.9e-04 libc-2.3.4.so _IO_iter_begin
1 7.9e-04 libc-2.3.4.so _IO_no_init
1 7.9e-04 libc-2.3.4.so _IO_old_init
1 7.9e-04 libc-2.3.4.so _IO_setb
1 7.9e-04 libc-2.3.4.so _IO_str_init_static_internal
1 7.9e-04 libc-2.3.4.so _IO_un_link
1 7.9e-04 libc-2.3.4.so __ctype_get_mb_cur_max
1 7.9e-04 libc-2.3.4.so __current_locale_name
1 7.9e-04 libc-2.3.4.so __nss_getent_r
1 7.9e-04 libc-2.3.4.so __nss_lookup_function
1 7.9e-04 libc-2.3.4.so _nl_make_l10nflist
1 7.9e-04 libc-2.3.4.so _wordcopy_fwd_aligned
1 7.9e-04 libc-2.3.4.so arena_get2
1 7.9e-04 libc-2.3.4.so fgets_unlocked
1 7.9e-04 libc-2.3.4.so getservent
1 7.9e-04 libc-2.3.4.so inet_pton
1 7.9e-04 libc-2.3.4.so mempcpy
1 7.9e-04 libc-2.3.4.so munmap
1 7.9e-04 libc-2.3.4.so nss_parse_service_list
1 7.9e-04 libc-2.3.4.so send
1 7.9e-04 libc-2.3.4.so sprintf
1 7.9e-04 libnss_files-2.3.4.so _nss_files_getservent_r
1 7.9e-04 libnss_files-2.3.4.so _nss_files_parse_protoent
1 7.9e-04 libresolv-2.3.4.so __ns_name_pton
1 7.9e-04 libresolv-2.3.4.so anonymous symbol from section .plt
1 7.9e-04 vmlinux __link_path_walk
1 7.9e-04 vmlinux __pmd_alloc
1 7.9e-04 vmlinux __remove_shared_vm_struct
1 7.9e-04 vmlinux __strncpy_from_user_asm
1 7.9e-04 vmlinux __tasklet_schedule
1 7.9e-04 vmlinux _read_lock_bh
1 7.9e-04 vmlinux _spin_unlock_irq
1 7.9e-04 vmlinux cp_new_stat
1 7.9e-04 vmlinux cpu_idle
1 7.9e-04 vmlinux do_futex
1 7.9e-04 vmlinux do_mmap_pgoff
1 7.9e-04 vmlinux dput
1 7.9e-04 vmlinux dummy_file_alloc_security
1 7.9e-04 vmlinux dummy_socket_create
1 7.9e-04 vmlinux dummy_socket_recvmsg
1 7.9e-04 vmlinux dummy_socket_sock_rcv_skb
1 7.9e-04 vmlinux fget_light
1 7.9e-04 vmlinux file_kill
1 7.9e-04 vmlinux find_vma_prepare
1 7.9e-04 vmlinux find_vma_prev
1 7.9e-04 vmlinux free_pages_bulk
1 7.9e-04 vmlinux generic_fillattr
1 7.9e-04 vmlinux get_futex_key
1 7.9e-04 vmlinux hash_futex
1 7.9e-04 vmlinux icmp_push_reply
1 7.9e-04 vmlinux icmp_rcv
1 7.9e-04 vmlinux icmp_send
1 7.9e-04 vmlinux icmp_xmit_unlock
1 7.9e-04 vmlinux iget_locked
1 7.9e-04 vmlinux inet_dgram_connect
1 7.9e-04 vmlinux invalidate_inode_buffers
1 7.9e-04 vmlinux ip4_datagram_connect
1 7.9e-04 vmlinux ip_options_echo
1 7.9e-04 vmlinux locks_remove_posix
1 7.9e-04 vmlinux lru_add_drain
1 7.9e-04 vmlinux lru_cache_add_active
1 7.9e-04 vmlinux page_add_anon_rmap
1 7.9e-04 vmlinux permission
1 7.9e-04 vmlinux proc_get_inode
1 7.9e-04 vmlinux sk_common_release
1 7.9e-04 vmlinux sk_free
1 7.9e-04 vmlinux skip_atoi
1 7.9e-04 vmlinux snmp_seq_show
1 7.9e-04 vmlinux sock_alloc_send_pskb
1 7.9e-04 vmlinux sock_destroy_inode
1 7.9e-04 vmlinux sock_map_fd
1 7.9e-04 vmlinux sock_map_file
1 7.9e-04 vmlinux sys_connect
1 7.9e-04 vmlinux sys_mprotect
1 7.9e-04 vmlinux sysc_reschedule
1 7.9e-04 vmlinux udp_push_pending_frames
1 7.9e-04 vmlinux vma_adjust
oprofile -ld
出力例
- サンプリングデータ保存先の変更
opcontrol --save=name
/var/lib/oprofile/samples/current/ディレクトリ以下に{kern}と{root}というディレクトリが作成されサンプリングデータが保存される。{kern}はカーネル空間、{root}はユーザー空間でサンプリングされたデータが保存されるディレクトリで、各ディレクトリ以下に実行されたカーネル自身やモジュール、コマンドごとのディレクトリが作成され、最下ディレクトリ中のイベント名が含まれたファイルにサンプリングデータが保存される。
- サンプリング・データの削除
opcontrol --reset
文書情報
有効期限: 2010年11月10日
本文書について
本文書では、IBM製品においてLinuxを使用する上で有用と思われる技術情報やHints&Tipsをご提供いたします。
本文書の情報は、限られた検証環境における結果に基づくものであり、全ての環境で同一の結果を保証するものではありません。
本文書の情報に基づき導入・設定を実施される場合には、十分な検証テストを行ってください。
また、予め各社より提供される情報および製品のマニュアルをご覧ください。
本文書の情報に基づいて導入・設定・運用した結果について、IBMはいかなる保証も責任も負いかねますので予めご了承ください。
