• 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_FREEDRENO_H_FILES
5
6FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_freedreno.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
13fd_bo_cpu_fini
14fd_bo_cpu_prep
15fd_bo_del
16fd_bo_dmabuf
17fd_bo_from_dmabuf
18fd_bo_from_fbdev
19fd_bo_from_handle
20fd_bo_from_name
21fd_bo_get_name
22fd_bo_handle
23fd_bo_map
24fd_bo_new
25fd_bo_ref
26fd_bo_size
27fd_device_del
28fd_device_fd
29fd_device_new
30fd_device_new_dup
31fd_device_ref
32fd_pipe_del
33fd_pipe_get_param
34fd_pipe_new
35fd_pipe_wait
36fd_pipe_wait_timeout
37fd_ringbuffer_del
38fd_ringbuffer_emit_reloc_ring
39fd_ringbuffer_flush
40fd_ringbuffer_new
41fd_ringbuffer_reloc
42fd_ringbuffer_reset
43fd_ringbuffer_set_parent
44fd_ringbuffer_timestamp
45fd_ringmarker_del
46fd_ringmarker_dwords
47fd_ringmarker_flush
48fd_ringmarker_mark
49fd_ringmarker_new
50EOF
51done)
52
53test ! -n "$FUNCS" || echo $FUNCS
54test ! -n "$FUNCS"
55