Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
trace-event-python.c File Reference
#include <Python.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "../../perf.h"
#include "../evsel.h"
#include "../util.h"
#include "../event.h"
#include "../thread.h"
#include "../trace-event.h"

Go to the source code of this file.


#define FTRACE_MAX_EVENT   ((1 << (sizeof(unsigned short) * 8)) - 1)
#define MAX_FIELDS   64
#define N_COMMON_FIELDS   7


PyMODINIT_FUNC initperf_trace_context (void)


struct event_formatevents [FTRACE_MAX_EVENT]
struct scripting_contextscripting_context
struct scripting_ops python_scripting_ops

Macro Definition Documentation

#define FTRACE_MAX_EVENT   ((1 << (sizeof(unsigned short) * 8)) - 1)

Definition at line 39 of file trace-event-python.c.

#define MAX_FIELDS   64

Definition at line 44 of file trace-event-python.c.

#define N_COMMON_FIELDS   7

Definition at line 45 of file trace-event-python.c.

Function Documentation

PyMODINIT_FUNC initperf_trace_context ( void  )

Definition at line 85 of file Context.c.

Variable Documentation

Definition at line 42 of file trace-event-python.c.

struct scripting_ops python_scripting_ops
Initial value:
= {
.name = "Python",
.start_script = python_start_script,
.stop_script = python_stop_script,
.process_event = python_process_event,
.generate_script = python_generate_script,

Definition at line 688 of file trace-event-python.c.

Definition at line 31 of file trace-event-scripting.c.