1 Star 0 Fork 32

LemmyHuang/gazelle_1

forked from src-openEuler/gazelle 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0081-dfx-fix-kernel_events-stat.patch 960 Bytes
一键复制 编辑 原始数据 按行查看 历史
yinbin6 提交于 2023-12-16 15:16 . sync fix EPOLLIN event error
From 3f93ac98b09a3bdb0dc557f9b93a008d809cd5c3 Mon Sep 17 00:00:00 2001
From: yinbin <yinbin8@huawei.com>
Date: Sun, 10 Dec 2023 14:55:16 +0800
Subject: [PATCH] dfx: fix kernel_events stat
---
src/lstack/core/lstack_stack_stat.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lstack/core/lstack_stack_stat.c b/src/lstack/core/lstack_stack_stat.c
index 2d85efa..e4ccc41 100644
--- a/src/lstack/core/lstack_stack_stat.c
+++ b/src/lstack/core/lstack_stack_stat.c
@@ -136,6 +136,7 @@ static void get_wakeup_stat(struct protocol_stack_group *stack_group, struct pro
struct wakeup_poll *wakeup = container_of(node, struct wakeup_poll, poll_list);
if (wakeup->bind_stack == stack) {
+ stat->kernel_events += wakeup->stat.kernel_events;
stat->app_events += wakeup->stat.app_events;
stat->read_null += wakeup->stat.read_null;
stat->app_write_cnt += wakeup->stat.app_write_cnt;
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/LemmyHuang/gazelle_1.git
git@gitee.com:LemmyHuang/gazelle_1.git
LemmyHuang
gazelle_1
gazelle_1
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385