Merge "remove spurious #include and OVERFLOW_COUNTERSET"
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "BpfSyscallWrappers.h"
|
||||
#include "bpf/BpfUtils.h"
|
||||
|
||||
namespace android {
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <android-base/stringprintf.h>
|
||||
#include <android-base/unique_fd.h>
|
||||
#include <utils/Log.h>
|
||||
|
||||
#include "BpfSyscallWrappers.h"
|
||||
#include "bpf/BpfUtils.h"
|
||||
|
||||
namespace android {
|
||||
|
||||
@@ -25,21 +25,12 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/utsname.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <android-base/unique_fd.h>
|
||||
#include <log/log.h>
|
||||
|
||||
#include "BpfSyscallWrappers.h"
|
||||
|
||||
// The buffer size for the buffer that records program loading logs, needs to be large enough for
|
||||
// the largest kernel program.
|
||||
|
||||
namespace android {
|
||||
namespace bpf {
|
||||
|
||||
constexpr const int OVERFLOW_COUNTERSET = 2;
|
||||
|
||||
constexpr const uint64_t NONEXISTENT_COOKIE = 0;
|
||||
|
||||
static inline uint64_t getSocketCookie(int sockFd) {
|
||||
|
||||
Reference in New Issue
Block a user