Project

General

Profile

« Previous | Next » 

Revision 8894689a

Added by David Smith over 13 years ago

  • ID 8894689a32fc83bdb043d455b064faa371853865

Handle logfile paths that end in '|', treat it as a command to read data from.

  • src/pmdas/logger/util.c: New file.
  • src/pmdas/logger/util.h: Ditto.
  • src/pmdas/logger/event.c (event_init): Handle opening pipe "paths". (event_shutdown): New function that stops piped processes and closes all files.
  • src/pmdas/logger/event.h: Added event_shutdown() prototype.
  • src/pmdas/logger/logger.c (read_config): Moved lstrip/rstrip code to util.c. (main): Calls event_shutdown() after pmdaMain() returns to clean everything up.
  • src/pmdas/logger/GNUmakefile.in: Added util.c and util.h.
  • src/pmdas/logger/Install: Support entering pipe "paths".
  • added
  • modified
  • copied
  • renamed
  • deleted