Re: [PATCH bpf-next 3/3] selftests/bpf: Add selftests for cgroup1 local storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/6/23 3:53 AM, Yafang Shao wrote:
diff --git a/tools/testing/selftests/bpf/prog_tests/cgrp_local_storage.c
  b/tools/testing/selftests/bpf/prog_tests/cgrp_local_storage.c
index 63e776f..317da4d 100644
--- a/tools/testing/selftests/bpf/prog_tests/cgrp_local_storage.c
+++ b/tools/testing/selftests/bpf/prog_tests/cgrp_local_storage.c
@@ -19,6 +19,21 @@ struct socket_cookie {
  	__u64 cookie_value;
  };
+bool is_cgroup1;
+int target_hid;

[ ... ]

+void cgrp2_local_storage(void)

[ ... ]

+void cgrp1_local_storage(void)

Applied with adding 'static' to the above. Thanks!





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux