xref: /aosp_15_r20/external/bcc/tests/cc/test_static.c (revision 387f9dfdfa2baef462e92476d413c7bc2470293e)
1*387f9dfdSAndroid Build Coastguard Worker #include "bcc_common.h"
2*387f9dfdSAndroid Build Coastguard Worker 
main(int argc,char ** argv)3*387f9dfdSAndroid Build Coastguard Worker int main(int argc, char **argv) {
4*387f9dfdSAndroid Build Coastguard Worker   void *mod = bpf_module_create_c_from_string("BPF_TABLE(\"array\", int, int, stats, 10);\n", 4, NULL, 0, true, NULL);
5*387f9dfdSAndroid Build Coastguard Worker   return !(mod != NULL);
6*387f9dfdSAndroid Build Coastguard Worker }
7