categories.py

来自「linux下基于c++的处理器仿真平台。具有处理器流水线」· Python 代码 · 共 979 行 · 第 1/5 页

PY
979
字号
categories = {    'CALL_PALrdunique_' : 'interrupt', #     'Call_Pal_Callsys' : 'interrupt', #     'Call_Pal_Rdps' : 'interrupt', #     'Call_Pal_Rdusp' : 'interrupt', #     'Call_Pal_Rti' : 'interrupt', #     'Call_Pal_Swpctx' : 'interrupt', #     'Call_Pal_Swpipl' : 'interrupt', #     'Call_Pal_Wrusp' : 'interrupt', #     'SHATransform': 'driver', # drivers/char/random.c,     'TRAP_INTERRUPT_10_' : 'interrupt', #     'Trap_Dtbmiss_Single' : 'bufmgt', #     'Trap_Dtbmiss_double' : 'bufmgt', #     'Trap_Interrupt' : 'interrupt', #     'Trap_Itbmiss' : 'bufmgt', #     'Trap_Unalign' : 'alignment',    'UNALIGN_NO_DISMISS' : 'alignment',    'UNALIGN_NO_DISMISS_10_' : 'alignment',    '__alloc_pages' : 'bufmgt', # mm/page_alloc.c,     '__anon_vma_link': 'bufmgt', # mm/rmap.c, include/linux/rmap.h,     '__bio_add_page' : 'other', # fs/bio.c,     '__bitmap_weight' : 'other', # lib/bitmap.c, include/linux/bitmap.h,     '__blk_put_request' : 'other', # drivers/block/ll_rw_blk.c,     '__block_commit_write' : 'other', # fs/buffer.c,     '__block_prepare_write' : 'other', # fs/buffer.c,     '__block_write_full_page': 'other', # fs/buffer.c,     '__bread' : 'other', # fs/buffer.c, include/linux/buffer_head.h,     '__brelse' : 'other', # fs/buffer.c, include/linux/buffer_head.h,     '__bss_start' : 'user',    '__bss_stop' : 'other', # include/asm-generic/sections.h,     '__cond_resched' : 'other', # kernel/sched.c, include/linux/sched.h,     '__const_udelay': 'other', # include/asm-i386/delay.h,     '__constant_c_memset' : 'other', # include/asm-alpha/string.h,     '__copy_from_user_ll': 'copy', # include/asm-i386/uaccess.h,     '__copy_to_user_ll': 'copy', # include/asm-i386/uaccess.h,     '__copy_user' : 'copy', # include/asm-alpha/uaccess.h,     '__d_lookup' : 'other', # fs/dcache.c, include/linux/dcache.h,     '__d_path': 'other', # fs/dcache.c,     '__delay': 'other', # arch/alpha/lib/udelay.c, include/asm-alpha/delay.h, include/asm-i386/delay.h,     '__dequeue_signal' : 'other', # kernel/signal.c,     '__divl' : 'other', # arch/alpha/kernel/alpha_ksyms.c,     '__divlu' : 'other', # arch/alpha/kernel/alpha_ksyms.c,     '__divq' : 'other', # arch/alpha/kernel/alpha_ksyms.c,     '__divqu' : 'other', # arch/alpha/kernel/alpha_ksyms.c,     '__do_softirq' : 'stack', # kernel/softirq.c,     '__down': 'interrupt', # include/asm-alpha/semaphore.h, include/asm-i386/semaphore.h,     '__down_failed' : 'other', # arch/alpha/kernel/semaphore.c, include/asm-alpha/semaphore.h,     '__down_trylock': 'interrupt', # include/asm-alpha/semaphore.h, include/asm-i386/semaphore.h,     '__elv_add_request' : 'other', # drivers/block/elevator.c, include/linux/elevator.h,     '__end_that_request_first' : 'other', # drivers/block/ll_rw_blk.c,     '__exit_sighand': 'other', # kernel/signal.c, include/linux/sched.h,     '__exit_signal': 'other', # kernel/signal.c, include/linux/sched.h,     '__filemap_copy_from_user_iovec' : 'bufmgt', # mm/filemap.c,     '__filemap_fdatawrite' : 'bufmgt', # mm/filemap.c,     '__find_get_block' : 'other', # fs/buffer.c, include/linux/buffer_head.h,     '__find_get_block_slow' : 'other', # fs/buffer.c,     '__fput' : 'other', # fs/file_table.c,     '__free_pages' : 'bufmgt', # mm/page_alloc.c,     '__free_pages_ok': 'bufmgt', # mm/page_alloc.c,     '__generic_file_aio_read': 'bufmgt', # mm/filemap.c, include/linux/fs.h,     '__generic_unplug_device' : 'other', # drivers/block/ll_rw_blk.c, include/linux/blkdev.h,     '__get_free_pages' : 'other', # mm/page_alloc.c, drivers/md/raid6.h,     '__get_page_state': 'bufmgt', # mm/page_alloc.c,     '__get_user_4': 'other', # include/asm-i386/uaccess.h,     '__get_zone_counts': 'other', #     '__getblk' : 'other', # fs/buffer.c, include/linux/buffer_head.h,     '__getblk_slow' : 'other', # fs/buffer.c,     '__group_complete_signal' : 'user', # kernel/signal.c,  is kinda syscall    '__group_send_sig_info' : 'user', # kernel/signal.c,  is kinda syscall    '__iget' : 'other', # fs/inode.c, include/linux/fs.h,     '__insert_inode_hash': 'other', # fs/inode.c, include/linux/fs.h,     '__insert_vm_struct': 'bufmgt', # mm/mmap.c,     '__ip_conntrack_confirm' : 'stack', # net/ipv4/netfilter/ip_conntrack_core.c, include/linux/netfilter_ipv4/ip_conntrack_core.h,     '__ip_conntrack_find' : 'stack', # net/ipv4/netfilter/ip_conntrack_core.c,     '__ip_ct_find_proto' : 'stack', # net/ipv4/netfilter/ip_conntrack_core.c, include/linux/netfilter_ipv4/ip_conntrack_core.h,     '__ip_route_output_key' : 'stack', # net/ipv4/route.c,     '__kfree_skb' : 'bufmgt', # net/core/skbuff.c, include/linux/skbuff.h,     '__kmalloc' : 'bufmgt', # mm/slab.c, include/linux/slab.h,     '__load_new_mm_context': 'bufmgt',    '__lookup': 'other', # lib/radix-tree.c,     '__lookup_hash': 'other', # fs/namei.c,     '__lookup_tag' : 'bufmgt', # lib/radix-tree.c,     '__make_request' : 'driver', # drivers/block/ll_rw_blk.c, drivers/block/ll_rw_blk.c,     '__mark_inode_dirty' : 'other', # fs/fs-writeback.c, include/linux/fs.h,     '__memcpy_aligned_up' : 'copy', # arch/alpha/lib/memcpy.c,     '__memcpy_unaligned_up' : 'copy', # arch/alpha/lib/memcpy.c,     '__memset' : 'copy', # include/asm-alpha/string.h,     '__mmdrop': 'other', # kernel/fork.c,     '__mod_timer' : 'other', # kernel/timer.c, include/linux/timer.h,     '__modify_IO_APIC_irq': 'interrupt', #     '__net_random': 'other', #     '__page_cache_release' : 'bufmgt', # mm/swap.c,     '__pagevec_free': 'bufmgt', # mm/page_alloc.c, include/linux/pagevec.h,     '__pagevec_lru_add' : 'bufmgt', # mm/swap.c, include/linux/pagevec.h,     '__pagevec_lru_add_active': 'bufmgt', # mm/swap.c, include/linux/pagevec.h,     '__pagevec_release' : 'bufmgt', # mm/swap.c, include/linux/pagevec.h,     '__pollwait' : 'other', # fs/select.c, fs/select.c,     '__pskb_trim_head': 'stack', # net/ipv4/tcp_output.c,     '__put_task_struct': 'other', # kernel/fork.c, include/linux/sched.h,     '__queue_work': 'other', # kernel/workqueue.c,     '__rb_erase_color' : 'bufmgt', # lib/rbtree.c,     '__rb_rotate_left' : 'bufmgt', # lib/rbtree.c,     '__rb_rotate_right' : 'bufmgt', # lib/rbtree.c,     '__rcu_process_callbacks': 'other', #     '__read_page_state' : 'bufmgt', # mm/page_alloc.c, include/linux/page-flags.h,     '__release_sock' : 'stack', # net/core/sock.c,     '__remlu' : 'other', # arch/alpha/kernel/alpha_ksyms.c,     '__remove_from_page_cache': 'bufmgt', # mm/filemap.c, include/linux/pagemap.h,     '__remove_shared_vm_struct': 'bufmgt', # mm/mmap.c,     '__remqu' : 'other', # arch/alpha/kernel/alpha_ksyms.c,     '__rmqueue' : 'bufmgt', # mm/page_alloc.c,     '__scsi_done' : 'other', # drivers/scsi/scsi.c, drivers/scsi/scsi_priv.h,     '__scsi_get_command' : 'other', # drivers/scsi/scsi.c,     '__set_page_buffers' : 'other', # fs/buffer.c,     '__set_page_dirty_nobuffers' : 'bufmgt', # mm/page-writeback.c, include/linux/mm.h,     '__sk_stream_mem_reclaim' : 'bufmgt', # net/core/stream.c,     '__sock_create': 'stack', # net/socket.c,     '__strncpy_from_user' : 'copy', # include/asm-alpha/uaccess.h,     '__strnlen_user': 'user',    '__switch_to': 'interrupt', #     '__sync_single_inode' : 'other', # fs/fs-writeback.c,     '__tasklet_schedule' : 'other', # kernel/softirq.c,     '__tcp_ack_snd_check' : 'stack', # net/ipv4/tcp_input.c,     '__tcp_data_snd_check' : 'stack', # net/ipv4/tcp_input.c,     '__tcp_grow_window' : 'stack', # net/ipv4/tcp_input.c,     '__tcp_put_port' : 'stack', # net/ipv4/tcp_ipv4.c,     '__tcp_select_window' : 'stack', # net/ipv4/tcp_output.c,     '__tcp_tw_hashdance' : 'stack', # net/ipv4/tcp_minisocks.c,     '__tcp_v4_check_established':'stack',    '__unhash_process': 'other', # kernel/exit.c,     '__unmask_IO_APIC_irq': 'interrupt', #     '__up_wakeup' : 'interrupt', # arch/alpha/kernel/semaphore.c, include/asm-alpha/semaphore.h,     '__user_walk' : 'other', # fs/namei.c,     '__vm_stat_account': 'other', #     '__vma_link': 'bufmgt', # mm/mmap.c,     '__vma_link_rb': 'bufmgt', # mm/mmap.c, include/linux/mm.h,     '__wait_on_buffer' : 'other', # fs/buffer.c, include/linux/buffer_head.h,     '__wake_up' : 'other', # kernel/sched.c,     '__wake_up_common' : 'other', # kernel/sched.c,     '__wake_up_locked': 'other', # kernel/sched.c,     '__wake_up_parent': 'other', # kernel/signal.c,     '__wake_up_sync': 'other', # kernel/sched.c,     '__writeback_single_inode' : 'other', # fs/fs-writeback.c,     'acct_process': 'other', # kernel/acct.c, include/linux/acct.h, include/linux/acct.h,     'ack_edge_ioapic_irq': 'interrupt', #     'ack_edge_ioapic_vector': 'interrupt', #     'activate_page' : 'bufmgt', # mm/swap.c,     'activate_task' : 'other', # kernel/sched.c,     'add_disk_randomness' : 'other', # drivers/char/random.c, include/linux/genhd.h,     'add_interrupt_randomness': 'driver', # drivers/char/random.c, include/linux/random.h,     'add_timer_randomness' : 'driver', # drivers/char/random.c,     'add_to_page_cache' : 'bufmgt', # mm/filemap.c, include/linux/pagemap.h,     'add_to_page_cache_lru' : 'bufmgt', # mm/filemap.c, include/linux/pagemap.h,     'add_wait_queue' : 'other', # kernel/fork.c,     'add_wait_queue_exclusive' : 'other', # kernel/fork.c,     'aligned' : 'other', #     'alloc_buffer_head' : 'other', # fs/buffer.c, include/linux/buffer_head.h,     'alloc_dcookie': 'other', # fs/dcookies.c,     'alloc_fd_array': 'other', # fs/file.c, include/linux/file.h,     'alloc_inode' : 'other', # fs/inode.c,     'alloc_pidmap': 'other', # kernel/pid.c, include/linux/pid.h,     'alloc_skb' : 'bufmgt', # net/core/skbuff.c, include/linux/skbuff.h,     'alloc_slabmgmt' : 'bufmgt', # mm/slab.c,     'alpha_switch_to' : 'other', # include/asm-alpha/system.h,     'anon_vma_link': 'bufmgt', # mm/rmap.c, include/linux/rmap.h, include/linux/rmap.h,     'anon_vma_prepare': 'bufmgt', # mm/rmap.c, include/linux/rmap.h, include/linux/rmap.h,     'anon_vma_unlink': 'bufmgt', # mm/rmap.c, include/linux/rmap.h,     'apache': 'other', #     'apic_timer_interrupt': 'interrupt', # include/asm-i386/hw_irq.h,     'arch_get_unmapped_area': 'bufmgt',    'arch_get_unmapped_area_1': 'bufmgt',    'arch_get_unmapped_area_topdown': 'other', #     'arch_pick_mmap_layout': 'other', #     'arch_unmap_area_topdown': 'other', #     'arp_hash': 'stack', # net/ipv4/arp.c, net/ipv4/arp.c,     'arp_process': 'stack', # net/ipv4/arp.c,     'arp_rcv': 'stack', # net/ipv4/arp.c,     'artsd': 'other', #     'as_add_arq_hash' : 'other', # drivers/block/as-iosched.c,     'as_add_arq_rb' : 'other', # drivers/block/as-iosched.c,     'as_add_request' : 'other', # drivers/block/as-iosched.c,     'as_antic_stop' : 'other', # drivers/block/as-iosched.c,     'as_choose_req' : 'other', # drivers/block/as-iosched.c,     'as_completed_request' : 'other', # drivers/block/as-iosched.c,     'as_dispatch_request' : 'other', # drivers/block/as-iosched.c,     'as_fifo_expired' : 'other', # drivers/block/as-iosched.c,     'as_find_arq_hash' : 'other', # drivers/block/as-iosched.c,     'as_find_arq_rb' : 'other', # drivers/block/as-iosched.c,     'as_find_first_arq' : 'other', # drivers/block/as-iosched.c,     'as_find_next_arq' : 'other', # drivers/block/as-iosched.c,     'as_former_request' : 'other', # drivers/block/as-iosched.c,     'as_get_io_context' : 'other', # drivers/block/as-iosched.c,     'as_insert_request' : 'other', # drivers/block/as-iosched.c,     'as_latter_request' : 'other', # drivers/block/as-iosched.c,     'as_merge' : 'other', # drivers/block/as-iosched.c,     'as_merged_request' : 'other', # drivers/block/as-iosched.c, 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?