op_xml_out.h File Reference

utility routines for writing XML More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  tag_t {
  NONE = 0, TABLE_ID, PROFILE, PROCESSOR,
  CPU_NAME, TITLE, SCHEMA_VERSION, MHZ,
  SETUP, TIMER_SETUP, RTC_INTERRUPTS, EVENT_SETUP,
  EVENT_NAME, UNIT_MASK, SETUP_COUNT, SEPARATED_CPUS,
  OPTIONS, SESSION, DEBUG_INFO, DETAILS,
  EXCLUDE_DEPENDENT, EXCLUDE_SYMBOLS, IMAGE_PATH, INCLUDE_SYMBOLS,
  MERGE, CLASSES, CLASS, CPU_NUM,
  EVENT_NUM, EVENT_MASK, PROCESS, PROC_ID,
  THREAD, THREAD_ID, BINARY, MODULE,
  NAME, CALLERS, CALLEES, SYMBOL,
  ID_REF, SELFREF, DETAIL_LO, DETAIL_HI,
  SYMBOL_TABLE, SYMBOL_DATA, STARTING_ADDR, SOURCE_FILE,
  SOURCE_LINE, CODE_LENGTH, SUMMARY, SAMPLE,
  COUNT, DETAIL_TABLE, SYMBOL_DETAILS, DETAIL_DATA,
  VMA, BYTES_TABLE, BYTES, HELP_EVENTS,
  HELP_HEADER, HELP_TITLE, HELP_DOC, HELP_EVENT,
  HELP_EVENT_NAME, HELP_EVENT_GROUP, HELP_EVENT_DESC, HELP_COUNTER_MASK,
  HELP_MIN_COUNT, HELP_EXT, HELP_UNIT_MASKS, HELP_DEFAULT_MASK,
  HELP_UNIT_MASKS_CATEGORY, HELP_UNIT_MASK, HELP_UNIT_MASK_VALUE, HELP_UNIT_MASK_DESC,
  HELP_UNIT_EXTRA_VALUE
}

Functions

char const * xml_tag_name (tag_t tag)
void open_xml_element (tag_t tag, int with_attrs, char *buffer, size_t size)
void close_xml_element (tag_t tag, int has_nested, char *buffer, size_t size)
void init_xml_int_attr (tag_t attr, int value, char *buffer, size_t size)
void init_xml_dbl_attr (tag_t attr, double value, char *buffer, size_t size)
void init_xml_str_attr (tag_t attr, char const *str, char *buffer, size_t size)

Detailed Description

utility routines for writing XML

Remarks:
Copyright 2008 OProfile authors
Read the file COPYING
Author:
Dave Nomura

Enumeration Type Documentation

enum tag_t
Enumerator:
NONE 
TABLE_ID 
PROFILE 
PROCESSOR 
CPU_NAME 
TITLE 
SCHEMA_VERSION 
MHZ 
SETUP 
TIMER_SETUP 
RTC_INTERRUPTS 
EVENT_SETUP 
EVENT_NAME 
UNIT_MASK 
SETUP_COUNT 
SEPARATED_CPUS 
OPTIONS 
SESSION 
DEBUG_INFO 
DETAILS 
EXCLUDE_DEPENDENT 
EXCLUDE_SYMBOLS 
IMAGE_PATH 
INCLUDE_SYMBOLS 
MERGE 
CLASSES 
CLASS 
CPU_NUM 
EVENT_NUM 
EVENT_MASK 
PROCESS 
PROC_ID 
THREAD 
THREAD_ID 
BINARY 
MODULE 
NAME 
CALLERS 
CALLEES 
SYMBOL 
ID_REF 
SELFREF 
DETAIL_LO 
DETAIL_HI 
SYMBOL_TABLE 
SYMBOL_DATA 
STARTING_ADDR 
SOURCE_FILE 
SOURCE_LINE 
CODE_LENGTH 
SUMMARY 
SAMPLE 
COUNT 
DETAIL_TABLE 
SYMBOL_DETAILS 
DETAIL_DATA 
VMA 
BYTES_TABLE 
BYTES 
HELP_EVENTS 
HELP_HEADER 
HELP_TITLE 
HELP_DOC 
HELP_EVENT 
HELP_EVENT_NAME 
HELP_EVENT_GROUP 
HELP_EVENT_DESC 
HELP_COUNTER_MASK 
HELP_MIN_COUNT 
HELP_EXT 
HELP_UNIT_MASKS 
HELP_DEFAULT_MASK 
HELP_UNIT_MASKS_CATEGORY 
HELP_UNIT_MASK 
HELP_UNIT_MASK_VALUE 
HELP_UNIT_MASK_DESC 
HELP_UNIT_EXTRA_VALUE 

Function Documentation

void close_xml_element ( tag_t  tag,
int  has_nested,
char *  buffer,
size_t  size 
)
void init_xml_dbl_attr ( tag_t  attr,
double  value,
char *  buffer,
size_t  size 
)

References xml_tag_name().

Referenced by init_attr().

void init_xml_int_attr ( tag_t  attr,
int  value,
char *  buffer,
size_t  size 
)

References xml_tag_name().

Referenced by init_attr(), and xml_help_for_event().

void init_xml_str_attr ( tag_t  attr,
char const *  str,
char *  buffer,
size_t  size 
)
void open_xml_element ( tag_t  tag,
int  with_attrs,
char *  buffer,
size_t  size 
)
char const* xml_tag_name ( tag_t  tag  ) 

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1