|
Linux Kernel
3.7.1
|
#include "builtin.h"#include "perf.h"#include "util/util.h"#include "util/evlist.h"#include "util/cache.h"#include "util/evsel.h"#include "util/symbol.h"#include "util/thread.h"#include "util/header.h"#include "util/session.h"#include "util/tool.h"#include "util/parse-options.h"#include "util/trace-event.h"#include "util/debug.h"#include <sys/prctl.h>#include <sys/resource.h>#include <semaphore.h>#include <pthread.h>#include <math.h>Go to the source code of this file.
Data Structures | |
| struct | task_desc |
| struct | sched_atom |
| struct | work_atom |
| struct | work_atoms |
| struct | trace_sched_handler |
| struct | perf_sched |
| struct | sched_thread_parms |
| struct | sort_dimension |
Macros | |
| #define | PR_SET_NAME 15 /* Set process name */ |
| #define | MAX_CPUS 4096 |
| #define | COMM_LEN 20 |
| #define | SYM_LEN 129 |
| #define | MAX_PID 65536 |
| #define | TASK_STATE_TO_CHAR_STR "RSDTtZX" |
Typedefs | |
| typedef int(* | sort_fn_t )(struct work_atoms *, struct work_atoms *) |
| typedef int(* | tracepoint_handler )(struct perf_tool *tool, struct perf_evsel *evsel, struct perf_sample *sample, struct machine *machine) |
Enumerations | |
| enum | sched_event_type { SCHED_EVENT_RUN, SCHED_EVENT_SLEEP, SCHED_EVENT_WAKEUP, SCHED_EVENT_MIGRATION } |
| enum | thread_state { THREAD_SLEEPING = 0, THREAD_WAIT_CPU, THREAD_SCHED_IN, THREAD_IGNORE } |
Functions | |
| int | cmd_sched (int argc, const char **argv, const char *prefix __maybe_unused) |
| #define COMM_LEN 20 |
Definition at line 28 of file builtin-sched.c.
| #define MAX_CPUS 4096 |
Definition at line 27 of file builtin-sched.c.
| #define MAX_PID 65536 |
Definition at line 30 of file builtin-sched.c.
| #define PR_SET_NAME 15 /* Set process name */ |
Definition at line 26 of file builtin-sched.c.
| #define SYM_LEN 129 |
Definition at line 29 of file builtin-sched.c.
| #define TASK_STATE_TO_CHAR_STR "RSDTtZX" |
Definition at line 69 of file builtin-sched.c.
| typedef int(* sort_fn_t)(struct work_atoms *, struct work_atoms *) |
Definition at line 98 of file builtin-sched.c.
| typedef int(* tracepoint_handler)(struct perf_tool *tool, struct perf_evsel *evsel, struct perf_sample *sample, struct machine *machine) |
Definition at line 1418 of file builtin-sched.c.
| enum sched_event_type |
Definition at line 52 of file builtin-sched.c.
| enum thread_state |
Definition at line 71 of file builtin-sched.c.
1.8.2