public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Use procutils on getsysstats and malloc-hugepages
@ 2023-09-12 13:15 Adhemerval Zanella
  2023-09-12 13:15 ` [PATCH 1/2] linux: Use procutils_read_file on getsysstats Adhemerval Zanella
  2023-09-12 13:15 ` [PATCH 2/2] linux: Use procutils_read_file on malloc-hugepages Adhemerval Zanella
  0 siblings, 2 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2023-09-12 13:15 UTC (permalink / raw)
  To: libc-alpha

It allows consolidate the Linux code that parses procfs/sysfs.

Adhemerval Zanella (2):
  linux: Use procutils_read_file on getsysstats
  linux: Use procutils_read_file on malloc-hugepages

 sysdeps/aarch64/Makefile                   |   5 +-
 sysdeps/unix/sysv/linux/Makefile           |   6 +
 sysdeps/unix/sysv/linux/getsysstats.c      | 177 ++++++---------------
 sysdeps/unix/sysv/linux/malloc-hugepages.c |  68 ++++----
 sysdeps/unix/sysv/linux/pidfd_getpid.c     |   2 +-
 sysdeps/unix/sysv/linux/procutils.c        |   4 +-
 sysdeps/unix/sysv/linux/procutils.h        |   4 +-
 7 files changed, 95 insertions(+), 171 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-12 13:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-12 13:15 [PATCH 0/2] Use procutils on getsysstats and malloc-hugepages Adhemerval Zanella
2023-09-12 13:15 ` [PATCH 1/2] linux: Use procutils_read_file on getsysstats Adhemerval Zanella
2023-09-12 13:15 ` [PATCH 2/2] linux: Use procutils_read_file on malloc-hugepages Adhemerval Zanella
2023-09-12 13:35   ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).