op_xml_events.c File Reference

#include <stdio.h>
#include <string.h>
#include "op_events.h"
#include "op_list.h"
#include "op_cpu_type.h"
#include "op_xml_out.h"
Include dependency graph for op_xml_events.c:

Go to the source code of this file.

Defines

#define MAX_BUFFER   16384

Functions

void open_xml_events (char const *title, char const *doc, op_cpu the_cpu_type)
void close_xml_events (void)
static void xml_do_arch_specific_event_help (struct op_event const *event, char *buffer, size_t size)
void xml_help_for_event (struct op_event const *event)

Variables

static op_cpu cpu_type
static char buffer [MAX_BUFFER]

Detailed Description

routines for generating event files in XML

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

Definition in file op_xml_events.c.


Define Documentation

#define MAX_BUFFER   16384

Definition at line 19 of file op_xml_events.c.

Referenced by close_xml_events(), open_xml_events(), and xml_help_for_event().


Function Documentation

void close_xml_events ( void   ) 

Definition at line 38 of file op_xml_events.c.

References buffer, close_xml_element(), HELP_EVENTS, and MAX_BUFFER.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void open_xml_events ( char const *  title,
char const *  doc,
op_cpu  the_cpu_type 
)

Definition at line 22 of file op_xml_events.c.

References buffer, close_xml_element(), HELP_DOC, HELP_EVENTS, HELP_HEADER, HELP_TITLE, init_xml_str_attr(), MAX_BUFFER, NONE, open_xml_element(), and SCHEMA_VERSION.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

static void xml_do_arch_specific_event_help ( struct op_event const *  event,
char *  buffer,
size_t  size 
) [static]

Definition at line 45 of file op_xml_events.c.

References CPU_PPC64_CELL, HELP_EVENT_GROUP, init_xml_int_attr(), and op_event::val.

Referenced by xml_help_for_event().

Here is the call graph for this function:

Here is the caller graph for this function:

void xml_help_for_event ( struct op_event const *  event  ) 

Variable Documentation

char buffer[MAX_BUFFER] [static]
op_cpu cpu_type [static]

Definition at line 18 of file op_xml_events.c.


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1