Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
thread.c File Reference
#include "../perf.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "session.h"
#include "thread.h"
#include "util.h"
#include "debug.h"

Go to the source code of this file.


void thread__delete (struct thread *self)
int thread__set_comm (struct thread *self, const char *comm)
int thread__comm_len (struct thread *self)
struct threadmachine__findnew_thread (struct machine *self, pid_t pid)
void thread__insert_map (struct thread *self, struct map *map)
int thread__fork (struct thread *self, struct thread *parent)
size_t machine__fprintf (struct machine *machine, FILE *fp)

Function Documentation

struct thread* machine__findnew_thread ( struct machine self,
pid_t  pid 

Definition at line 63 of file thread.c.

size_t machine__fprintf ( struct machine machine,
FILE *  fp 

Definition at line 127 of file thread.c.

int thread__comm_len ( struct thread self)

Definition at line 46 of file thread.c.

void thread__delete ( struct thread self)

Definition at line 25 of file thread.c.

int thread__fork ( struct thread self,
struct thread parent 

Definition at line 108 of file thread.c.

void thread__insert_map ( struct thread self,
struct map map 

Definition at line 102 of file thread.c.

int thread__set_comm ( struct thread self,
const char comm 

Definition at line 32 of file thread.c.