stop
This commit is contained in:
parent
1b89bab4ee
commit
54db8a4a0f
12
srcxray.py
12
srcxray.py
|
@ -42,6 +42,7 @@ import ast
|
|||
import xml.etree.ElementTree as ET
|
||||
|
||||
default_root = 'starts'
|
||||
stop = list()
|
||||
ignore = list()
|
||||
ignored = set()
|
||||
show_ignored = False
|
||||
|
@ -298,6 +299,11 @@ def call_tree(node, printed=None, level=0):
|
|||
a = line.split()[1]
|
||||
if a in local_printed:
|
||||
continue
|
||||
if a in stop:
|
||||
print_limited2((level + 1)*'\t' + a +
|
||||
(' ^' if a in local_printed else ''))
|
||||
local_printed.add(a)
|
||||
continue
|
||||
if a in ignore:
|
||||
ignored.add(a)
|
||||
if show_ignored:
|
||||
|
@ -1417,6 +1423,12 @@ class _unittest_autotest(unittest.TestCase):
|
|||
|
||||
|
||||
def main():
|
||||
global stop
|
||||
try:
|
||||
f = open("stop.txt")
|
||||
stop = f.read().splitlines()
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
global ignore
|
||||
try:
|
||||
f = open("ignore.txt")
|
||||
|
|
113
stop.txt
113
stop.txt
|
@ -1 +1,114 @@
|
|||
DECLARE_WAITQUEUE
|
||||
kcalloc
|
||||
DECLARE_COMPLETION_ONSTACK
|
||||
__copy_to_user
|
||||
copy_from_user
|
||||
transfer
|
||||
copy_to_user
|
||||
connect
|
||||
do_tmpfile
|
||||
path_init
|
||||
IS_ALIGNED
|
||||
LIST_HEAD
|
||||
NIT_WORK
|
||||
__devm_request_region
|
||||
__irq_set_trigger
|
||||
__request_region
|
||||
activate
|
||||
atomic_add_unless
|
||||
atomic_dec_and_test
|
||||
atomic_inc
|
||||
atomic_inc_not_zero
|
||||
bus_get
|
||||
bus_remove_driver
|
||||
clk_disable_unprepare
|
||||
clk_get
|
||||
clk_prepare_enable
|
||||
clk_put
|
||||
clk_set_rate
|
||||
current_cred
|
||||
dev_name
|
||||
device_initialize
|
||||
devm_ioremap
|
||||
devm_pinctrl_get
|
||||
devm_request_irq
|
||||
devm_request_mem_region
|
||||
dma_cache_sync
|
||||
dma_init
|
||||
dma_map_single
|
||||
dma_mapping_error
|
||||
dma_unmap_single
|
||||
driver_find
|
||||
enqueue
|
||||
fls
|
||||
get_device
|
||||
get_local_resources
|
||||
get_task_struct
|
||||
handler
|
||||
ioremap
|
||||
iosapic_write
|
||||
irq_set_type
|
||||
kfree_skb_list
|
||||
kmem_cache_alloc
|
||||
kset_find_obj
|
||||
kthread_create
|
||||
mask_irq
|
||||
msecs_to_jiffies
|
||||
msm_spi_clk_max_rate
|
||||
of_get_named_gpio
|
||||
of_irq_get_byname
|
||||
of_irq_parse_one
|
||||
of_property_read_bool
|
||||
of_property_read_u32
|
||||
of_spi_register_master
|
||||
pinctrl_lookup_state
|
||||
platform_get_irq
|
||||
platform_get_irq
|
||||
platform_get_irq_byname
|
||||
platform_get_resource
|
||||
pm_request_idle
|
||||
pm_runtime_get_sync
|
||||
pm_runtime_put_sync
|
||||
pm_runtime_set_autosuspend_delay
|
||||
pm_runtime_set_suspended
|
||||
poweroff
|
||||
qdisc_calculate_pkt_len
|
||||
reset
|
||||
rpm_idle
|
||||
sb_permission
|
||||
sched_set_fifo
|
||||
set_bit
|
||||
setup_irq_thread
|
||||
spin_lock_nested
|
||||
strcpy
|
||||
try_module_get
|
||||
unmask_irq
|
||||
update_autosuspend
|
||||
usleep_range
|
||||
writel_relaxed
|
||||
security_socket_connect
|
||||
f
|
||||
INDIRECT_CALL_INET
|
||||
fput_many
|
||||
get_fs
|
||||
create
|
||||
security_socket_create
|
||||
request_module
|
||||
rcu_dereference
|
||||
module_put
|
||||
security_socket_post_create
|
||||
sock_release
|
||||
alloc_fd
|
||||
get_next_ino
|
||||
rcu_access_pointer
|
||||
disconnect
|
||||
lock_sock_nested
|
||||
release_sock
|
||||
DEFINE_EVENT_PRINT
|
||||
DECLARE_EVENT_CLASS
|
||||
__dynamic_array
|
||||
DEFINE_EVENT_CONDITION
|
||||
__assign_str
|
||||
skb_peek_tail
|
||||
sock_zerocopy_realloc
|
||||
msg_zerocopy_realloc
|
||||
|
|
Loading…
Reference in New Issue