~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to tools/perf/util/parse-events.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
struct list_head;
10
10
struct perf_evsel;
11
11
 
12
 
extern struct list_head evsel_list;
13
 
 
14
 
int perf_evsel_list__create_default(void);
15
 
void perf_evsel_list__delete(void);
16
 
 
17
12
struct option;
18
13
 
19
14
struct tracepoint_path {
25
20
extern struct tracepoint_path *tracepoint_id_to_path(u64 config);
26
21
extern bool have_tracepoints(struct list_head *evlist);
27
22
 
28
 
extern int                      nr_counters;
29
 
 
 
23
const char *event_type(int type);
30
24
const char *event_name(struct perf_evsel *event);
31
25
extern const char *__event_name(int type, u64 config);
32
26
 
35
29
 
36
30
#define EVENTS_HELP_MAX (128*1024)
37
31
 
38
 
extern void print_events(void);
 
32
void print_events(const char *event_glob);
 
33
void print_events_type(u8 type);
 
34
void print_tracepoint_events(const char *subsys_glob, const char *event_glob);
 
35
int print_hwcache_events(const char *event_glob);
39
36
extern int is_valid_tracepoint(const char *event_string);
40
37
 
41
38
extern char debugfs_path[];