-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Develop better plugin API abstractions. Make read-only ldmsd's access to the API function pointer structs: struct ldmsd_plugin, struct ldmsd_store, and struct ldmsd_sampler. The plugins now own those structs. Introduce the ldmsd_plug_api.[ch] files, which most importantly include the accessor functions for the new ldmsd_plug_handle_t, which is a opaque to the plugins. ldmsd passes an opaque ldmsd_plug_handle_t to the plugins in each plugin API call. Plugins may use the accessor functions to get and set things through the handle. In particular, a plugin may use ldmsd_plug_context_set() to record its local context pointer in one call, and use ldmsd_plug_context_get() to retrieve its local context pointer. Functions calls constructor() and destructor() are added to the plugin API to simplify plugin multi-instance support. The filesingle sampler is upgraded to multi-instance support.
- Loading branch information
Showing
126 changed files
with
1,444 additions
and
1,287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.