Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libgtop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • libgtop
  • Issues
  • #32

Closed
Open
Created Dec 05, 2015 by Bugzilla@bugzilla-migration💬Reporter

Rewrite of glibtop_get_netload_p()

Submitted by Martin Pieuchot

Link to original bug (#759064)

Description

Created attachment 316805 Rewrite of glibtop_get_netload_p()

The attached patch is a rewrite of glibtop_get_netload_p() to use libc's getifaddrs(3) function rather than reading kernel's memory via the libkvm.

The latter is deprecated and should be avoided. I'm trying to rid of the direct reads of the "struct ifnet" structure via this interface to facilitate kernel changes.

Could it be possible to integrate this diff?

Patch 316805, "Rewrite of glibtop_get_netload_p()":
libgtop2.diff

Assignee
Assign to
Time tracking