image_errors.h File Reference

Report errors in images. More...

#include <list>
#include <string>
Include dependency graph for image_errors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  image_error {
  image_ok = 0, image_not_found, image_unreadable, image_format_failure,
  image_multiple_match
}
 

possible reasons why we can't read a binary image

More...

Functions

void report_image_error (std::string const &image, image_error error, bool fatal, extra_images const &extra)
 output why the image passed can't be read to stderr, we warranty only one error report by image name.
void report_image_error (inverted_profile const &profile, bool fatal, extra_images const &extra)
 output why the image passed can't be read to stderr
void report_image_errors (std::list< inverted_profile > const &plist, extra_images const &extra)
 output why any bad images can't be read to stderr

Detailed Description

Report errors in images.

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
John Levon

Enumeration Type Documentation

possible reasons why we can't read a binary image

Enumerator:
image_ok 
image_not_found 
image_unreadable 
image_format_failure 
image_multiple_match 

Function Documentation

void report_image_error ( inverted_profile const &  profile,
bool  fatal,
extra_images const &  extra 
)

output why the image passed can't be read to stderr

References inverted_profile::error, inverted_profile::image, and report_image_error().

void report_image_error ( std::string const &  image,
image_error  error,
bool  fatal,
extra_images const &  extra 
)

output why the image passed can't be read to stderr, we warranty only one error report by image name.

void report_image_errors ( std::list< inverted_profile > const &  plist,
extra_images const &  extra 
)

output why any bad images can't be read to stderr


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1