forked from luck/tmp_suning_uos_patched
e74328d3a1
Prevent bit-rot in perf-annotate by using common functions where possible. Here we create process_events.[ch] to hold the common functions. Signed-off-by: John Kacur <jkacur@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: acme@redhat.com LKML-Reference: <1259073301-11506-3-git-send-email-jkacur@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
30 lines
585 B
C
30 lines
585 B
C
#ifndef __PROCESS_EVENT_H
|
|
#define __PROCESS_EVENT_H
|
|
|
|
#include "../builtin.h"
|
|
#include "util.h"
|
|
|
|
#include "color.h"
|
|
#include <linux/list.h>
|
|
#include "cache.h"
|
|
#include <linux/rbtree.h>
|
|
#include "symbol.h"
|
|
#include "string.h"
|
|
|
|
#include "../perf.h"
|
|
#include "debug.h"
|
|
|
|
#include "parse-options.h"
|
|
#include "parse-events.h"
|
|
|
|
#include "thread.h"
|
|
#include "sort.h"
|
|
#include "hist.h"
|
|
|
|
extern char *cwd;
|
|
extern int cwdlen;
|
|
extern int process_mmap_event(event_t *, unsigned long, unsigned long);
|
|
extern int process_comm_event(event_t *, unsigned long , unsigned long);
|
|
|
|
#endif /* __PROCESS_H */
|