• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3# The following symbols (past the first five) are taken from the public headers.
4# A list of the latter should be available Makefile.sources/LIBDRM_ETNAVIV_H_FILES
5
6FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_etnaviv.so} | awk '{print $3}'| while read func; do
7( grep -q "^$func$" || echo $func )  <<EOF
8__bss_start
9_edata
10_end
11_fini
12_init
13etna_device_new
14etna_device_new_dup
15etna_device_ref
16etna_device_del
17etna_device_fd
18etna_gpu_new
19etna_gpu_del
20etna_gpu_get_param
21etna_pipe_new
22etna_pipe_del
23etna_pipe_wait
24etna_pipe_wait_ns
25etna_bo_new
26etna_bo_from_handle
27etna_bo_from_name
28etna_bo_from_dmabuf
29etna_bo_ref
30etna_bo_del
31etna_bo_get_name
32etna_bo_handle
33etna_bo_dmabuf
34etna_bo_size
35etna_bo_map
36etna_bo_cpu_prep
37etna_bo_cpu_fini
38etna_cmd_stream_new
39etna_cmd_stream_del
40etna_cmd_stream_timestamp
41etna_cmd_stream_flush
42etna_cmd_stream_finish
43etna_cmd_stream_reloc
44EOF
45done)
46
47test ! -n "$FUNCS" || echo $FUNCS
48test ! -n "$FUNCS"
49