Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
builtin-timechart.c File Reference
#include "builtin.h"
#include "util/util.h"
#include "util/color.h"
#include <linux/list.h>
#include "util/cache.h"
#include "util/evsel.h"
#include <linux/rbtree.h>
#include "util/symbol.h"
#include "util/callchain.h"
#include "util/strlist.h"
#include "perf.h"
#include "util/header.h"
#include "util/parse-options.h"
#include "util/parse-events.h"
#include "util/event.h"
#include "util/session.h"
#include "util/svghelper.h"
#include "util/tool.h"

Go to the source code of this file.

Data Structures

struct  per_pid
 
struct  per_pidcomm
 
struct  sample_wrapper
 
struct  cpu_sample
 
struct  power_event
 
struct  wake_event
 
struct  process_filter
 
struct  trace_entry
 
struct  power_entry_old
 
struct  power_processor_entry
 
struct  wakeup_entry
 
struct  sched_switch
 

Macros

#define SUPPORT_OLD_POWER_EVENTS   1
 
#define PWR_EVENT_EXIT   -1
 
#define TYPE_NONE   0
 
#define TYPE_RUNNING   1
 
#define TYPE_WAITING   2
 
#define TYPE_BLOCKED   3
 
#define CSTATE   1
 
#define PSTATE   2
 
#define MAX_CPUS   4096
 
#define TASK_COMM_LEN   16
 
#define TIME_THRESH   10000000
 

Enumerations

enum  trace_flag_type {
  TRACE_FLAG_IRQS_OFF = 0x01, TRACE_FLAG_IRQS_NOSUPPORT = 0x02, TRACE_FLAG_NEED_RESCHED = 0x04, TRACE_FLAG_HARDIRQ = 0x08,
  TRACE_FLAG_SOFTIRQ = 0x10, TRACE_FLAG_IRQS_OFF = 0x01, TRACE_FLAG_IRQS_NOSUPPORT = 0x02, TRACE_FLAG_NEED_RESCHED = 0x04,
  TRACE_FLAG_HARDIRQ = 0x08, TRACE_FLAG_SOFTIRQ = 0x10, TRACE_FLAG_IRQS_OFF = 0x01, TRACE_FLAG_IRQS_NOSUPPORT = 0x02,
  TRACE_FLAG_NEED_RESCHED = 0x04, TRACE_FLAG_HARDIRQ = 0x08, TRACE_FLAG_SOFTIRQ = 0x10
}
 

Functions

int cmd_timechart (int argc, const char **argv, const char *prefix __maybe_unused)
 

Macro Definition Documentation

#define CSTATE   1

Definition at line 127 of file builtin-timechart.c.

#define MAX_CPUS   4096

Definition at line 264 of file builtin-timechart.c.

#define PSTATE   2

Definition at line 128 of file builtin-timechart.c.

#define PWR_EVENT_EXIT   -1

Definition at line 38 of file builtin-timechart.c.

#define SUPPORT_OLD_POWER_EVENTS   1

Definition at line 37 of file builtin-timechart.c.

#define TASK_COMM_LEN   16

Definition at line 322 of file builtin-timechart.c.

#define TIME_THRESH   10000000

Definition at line 936 of file builtin-timechart.c.

#define TYPE_BLOCKED   3

Definition at line 114 of file builtin-timechart.c.

#define TYPE_NONE   0

Definition at line 111 of file builtin-timechart.c.

#define TYPE_RUNNING   1

Definition at line 112 of file builtin-timechart.c.

#define TYPE_WAITING   2

Definition at line 113 of file builtin-timechart.c.

Enumeration Type Documentation

Enumerator:
TRACE_FLAG_IRQS_OFF 
TRACE_FLAG_IRQS_NOSUPPORT 
TRACE_FLAG_NEED_RESCHED 
TRACE_FLAG_HARDIRQ 
TRACE_FLAG_SOFTIRQ 
TRACE_FLAG_IRQS_OFF 
TRACE_FLAG_IRQS_NOSUPPORT 
TRACE_FLAG_NEED_RESCHED 
TRACE_FLAG_HARDIRQ 
TRACE_FLAG_SOFTIRQ 
TRACE_FLAG_IRQS_OFF 
TRACE_FLAG_IRQS_NOSUPPORT 
TRACE_FLAG_NEED_RESCHED 
TRACE_FLAG_HARDIRQ 
TRACE_FLAG_SOFTIRQ 

Definition at line 340 of file builtin-timechart.c.

Function Documentation

int cmd_timechart ( int  argc,
const char **  argv,
const char *prefix  __maybe_unused 
)

Definition at line 1061 of file builtin-timechart.c.