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

libpcp_import: support for an archive-append mode #1610

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Jun 15, 2022

  1. libpcp_import: support for an archive-append mode

    In order to implement sysstat/sar semantics, where an
    archive is appended to by short-lived processes - and
    not by a long-running process ala pmlogger - we're in
    need of an append-mode from the LOGIMPORT(3) API.
    
    This is a prototype of the sorts of changes I believe
    we'll need.  I've updated just the one QA test utility
    to exercise it at this stage and the rest will follow
    once we've settled on appropriate APIs.
    natoscott committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    9db5042 View commit details
    Browse the repository at this point in the history
  2. libpcp: add __pmLogAppend so log internals remain in libpcp

    Refactor some new log-append code out of libpcp_import and
    into libpcp; also ensure archive files are opened for read
    only when we're not appending.
    natoscott committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    44cff82 View commit details
    Browse the repository at this point in the history