mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-11-01 13:15:01 +08:00
add new topics (#132)
* add goroutine text * update * fix funclatency * update doc * update about nginx * update nginx * u[date co * fix compile
This commit is contained in:
18
src/33-funclatency/funclatency.h
Normal file
18
src/33-funclatency/funclatency.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
|
||||
/* Copyright (c) 2020 Facebook */
|
||||
#ifndef __BOOTSTRAP_H
|
||||
#define __BOOTSTRAP_H
|
||||
|
||||
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
|
||||
#pragma once
|
||||
|
||||
#define MAX_PIDS 102400
|
||||
#define MAX_SLOTS 25
|
||||
|
||||
enum units {
|
||||
NSEC,
|
||||
USEC,
|
||||
MSEC,
|
||||
};
|
||||
|
||||
#endif /* __BOOTSTRAP_H */
|
||||
Reference in New Issue
Block a user