Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
parse-events-test.c File Reference
#include "parse-events.h"
#include "evsel.h"
#include "evlist.h"
#include "sysfs.h"
#include <linux/hw_breakpoint.h>

Go to the source code of this file.

Data Structures

struct  test__event_st
 
struct  test__term
 

Macros

#define TEST_ASSERT_VAL(text, cond)
 
#define PERF_TP_SAMPLE_TYPE
 
#define TEST_EVENTS(tests)
 

Functions

int parse_events__test (void)
 

Macro Definition Documentation

#define PERF_TP_SAMPLE_TYPE
Value:

Definition at line 16 of file parse-events-test.c.

#define TEST_ASSERT_VAL (   text,
  cond 
)
Value:
do { \
if (!(cond)) { \
pr_debug("FAILED %s:%d %s\n", __FILE__, __LINE__, text); \
return -1; \
} \
} while (0)

Definition at line 8 of file parse-events-test.c.

#define TEST_EVENTS (   tests)
Value:
do { \
ret1 = test_events(tests, ARRAY_SIZE(tests)); \
if (!ret2) \
ret2 = ret1; \
} while (0)

Function Documentation

int parse_events__test ( void  )

Definition at line 1027 of file parse-events-test.c.