2016-09-06 10:15:53 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-09-06 08:50:59 -06:00
|
|
|
set -u
|
|
|
|
|
2016-09-06 10:15:53 -06:00
|
|
|
# The following symbols (past the first five) are taken from the public headers.
|
|
|
|
# A list of the latter should be available Makefile.sources/LIBDRM_ETNAVIV_H_FILES
|
|
|
|
|
|
|
|
FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_etnaviv.so} | awk '{print $3}'| while read func; do
|
|
|
|
( grep -q "^$func$" || echo $func ) <<EOF
|
|
|
|
__bss_start
|
|
|
|
_edata
|
|
|
|
_end
|
|
|
|
_fini
|
|
|
|
_init
|
|
|
|
etna_device_new
|
2016-11-13 13:29:22 -07:00
|
|
|
etna_device_new_dup
|
2016-09-06 10:15:53 -06:00
|
|
|
etna_device_ref
|
|
|
|
etna_device_del
|
2016-11-13 13:14:57 -07:00
|
|
|
etna_device_fd
|
2016-09-06 10:15:53 -06:00
|
|
|
etna_gpu_new
|
|
|
|
etna_gpu_del
|
|
|
|
etna_gpu_get_param
|
|
|
|
etna_pipe_new
|
|
|
|
etna_pipe_del
|
|
|
|
etna_pipe_wait
|
2016-11-23 14:09:11 -07:00
|
|
|
etna_pipe_wait_ns
|
2016-09-06 10:15:53 -06:00
|
|
|
etna_bo_new
|
|
|
|
etna_bo_from_name
|
|
|
|
etna_bo_from_dmabuf
|
|
|
|
etna_bo_ref
|
|
|
|
etna_bo_del
|
|
|
|
etna_bo_get_name
|
|
|
|
etna_bo_handle
|
|
|
|
etna_bo_dmabuf
|
|
|
|
etna_bo_size
|
|
|
|
etna_bo_map
|
|
|
|
etna_bo_cpu_prep
|
|
|
|
etna_bo_cpu_fini
|
|
|
|
etna_cmd_stream_new
|
|
|
|
etna_cmd_stream_del
|
|
|
|
etna_cmd_stream_timestamp
|
|
|
|
etna_cmd_stream_flush
|
2017-04-10 03:15:53 -06:00
|
|
|
etna_cmd_stream_flush2
|
2016-09-06 10:15:53 -06:00
|
|
|
etna_cmd_stream_finish
|
2017-12-15 00:43:40 -07:00
|
|
|
etna_cmd_stream_perf
|
2016-09-06 10:15:53 -06:00
|
|
|
etna_cmd_stream_reloc
|
2017-12-15 00:43:39 -07:00
|
|
|
etna_perfmon_create
|
|
|
|
etna_perfmon_del
|
|
|
|
etna_perfmon_get_dom_by_name
|
|
|
|
etna_perfmon_get_sig_by_name
|
2016-09-06 10:15:53 -06:00
|
|
|
EOF
|
|
|
|
done)
|
|
|
|
|
|
|
|
test ! -n "$FUNCS" || echo $FUNCS
|
|
|
|
test ! -n "$FUNCS"
|