Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 445e98c7 authored by Yiwei Zhang's avatar Yiwei Zhang
Browse files

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
parent 1aba8aec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment