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

new(userspace): plugin api to dump async events #2152

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

Commits on Nov 8, 2024

  1. new(userspace): added new plugin API capability to dump plugin state.

    Also, ASYNCEVENT_E will not be correctly pre-parsed at init time while reading from captures.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    727c906 View commit details
    Browse the repository at this point in the history
  2. chore(userspace/plugin): bumped plugin API version to 3.10.0

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    7f3e821 View commit details
    Browse the repository at this point in the history
  3. new(userspace): moved dump API under async capability.

    We now expect `PPME_ASYNCEVENT_E` whose `name` matches one of the
    plugin supported ones (get_async_events() API).
    
    The new API is not required for async capability.
    
    Added also a test.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    0f49887 View commit details
    Browse the repository at this point in the history
  4. chore(userspace/libsinsp): disable plugin_dump test on emscripten.

    Other tests using no_driver engine and async plugin are also disabled on it.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    510a6d6 View commit details
    Browse the repository at this point in the history
  5. chore(userspace/libsinsp): fixed comment string.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    ef8f0cc View commit details
    Browse the repository at this point in the history
  6. new(userspace): dump API now takes a `ss_plugin_async_event_handler…

    …_t` callback.
    
    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    2ff9268 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. chore(userspace/libsinsp): call plugin dump API from fdopen too.

    Signed-off-by: Federico Di Pierro <[email protected]>
    FedeDP committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    5dbd02e View commit details
    Browse the repository at this point in the history