Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get statistic from proc #111

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chen042531
Copy link
Contributor

Add a feature to retrieve statistical data from "/proc".

  • cat /proc/gtp5g/statistic

@@ -817,8 +874,17 @@ int create_proc(void)
goto remove_qos_proc;
}

proc_gtp5g_statistic = proc_create("statistic", (S_IFREG | S_IRUGO | S_IWUGO),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modify proc dev name to stats

@@ -838,6 +904,7 @@ int create_proc(void)

void remove_proc()
{
remove_proc_entry("statistic", proc_gtp5g);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modify proc dev name to stats

Copy link
Collaborator

@tim-ywliu tim-ywliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants