pmemset API version 1.0

libpmemset.7 pmemset_config_new.3 pmemset_config_set_event_callback.3 pmemset_config_set_required_store_granularity.3 pmemset_config_set_reservation.3 pmemset_deep_flush.3 pmemset_descriptor_part_map.3 pmemset_drain.3 pmemset_errormsg.3 pmemset_first_part_map.3 pmemset_flush.3 pmemset_get_store_granularity.3 pmemset_memmove.3 pmemset_new.3 pmemset_part_map.3 pmemset_part_map_by_address.3 pmemset_part_map_drop.3 pmemset_part_new.3 pmemset_perror.3 pmemset_persist.3 pmemset_remove_part_map.3 pmemset_remove_range.3 pmemset_set_contiguous_part_coalescing.3 pmemset_source_delete.3 pmemset_source_from_file.3 pmemset_source_from_pmem2.3 pmemset_source_from_temporary.3

NAME
SYNOPSIS
DESCRIPTION
DEBUGGING
SEE ALSO

NAME

libpmemset - provides core functionality any persistent application should reasonably have (EXPERIMENTAL)

SYNOPSIS

#include <libpmemset.h>
cc ... -lpmemset -lpmem2

DESCRIPTION

libpmemset is still in progress.

DEBUGGING

  • PMEMSET_LOG_LEVEL

Value assigned to the PMEMSET_LOG_LEVEL controls the level of log details presented in the debug version of the library, as follows:

  • 0 - This is the default level of logging, when PMEMSET_LOG_LEVEL is not set. No log messages are presented at this level.

  • 1 - Additional details on any errors detected are logged, in addition to returning the errno-based errors as usual. The same information may be retrieved using pmemset_errormsg().

  • 2 - A trace of basic operations is logged.

  • 3 - Enables a very verbose amount of function call tracing in the library.

  • 4 - Enables voluminous and fairly obscure tracing information that is likely only useful to the libpmemset developers.

Unless PMEMSET_LOG_FILE is set, debugging output is written to stderr.

  • PMEMSET_LOG_FILE

Specifies the name of a file where all logging information should be written. If PMEMSET_LOG_FILE is not set, output is written to stderr.

SEE ALSO

https://pmem.io

The contents of this web site and the associated GitHub repositories are BSD-licensed open source.