GPU Memory: add bpf c program for gpu_mem/gpu_mem_total tracepoint
This change implements the bpf map and program to be attached to gpu_mem/gpu_mem_total tracepoint. Access groups of both the map and the program are setup properly for gpuservice. Bug: 154524735 Test: After requiring gpu_mem.o, the below should exist 1. /system/etc/bpf/gpu_mem.o 2. /sys/fs/bpf/map_gpu_mem_gpu_mem_total_map 3. /sys/fs/bpf/prog_gpu_mem_tracepoint_gpu_mem_gpu_mem_total Change-Id: Ic09cdfbbbd5de82920cba7b96045891b81a2ecf1 Merged-In: Ic09cdfbbbd5de82920cba7b96045891b81a2ecf1
Loading
Please register or sign in to comment