Diff of /libperf_events/operf_event.h [ef501a] .. [44d156]  Maximize  Restore

  Switch to unified view

a/libperf_events/operf_event.h b/libperf_events/operf_event.h
...
...
20
#include "op_types.h"
20
#include "op_types.h"
21
21
22
22
23
#define OP_MAX_EVT_NAME_LEN 64
23
#define OP_MAX_EVT_NAME_LEN 64
24
#define OP_MAX_UM_NAME_LEN 64
24
#define OP_MAX_UM_NAME_LEN 64
25
#define OP_MAX_UM_NAME_STR_LEN 17
25
#define OP_MAX_NUM_EVENTS 512
26
#define OP_MAX_NUM_EVENTS 512
26
27
27
struct ip_event {
28
struct ip_event {
28
    struct perf_event_header header;
29
    struct perf_event_header header;
29
    u64 ip;
30
    u64 ip;
...
...
131
    char um_name[OP_MAX_UM_NAME_LEN];
132
    char um_name[OP_MAX_UM_NAME_LEN];
132
    unsigned long count;
133
    unsigned long count;
133
    bool no_kernel;
134
    bool no_kernel;
134
    bool no_user;
135
    bool no_user;
135
    bool no_hv;
136
    bool no_hv;
137
  bool mode_specified; /* user specified user or kernel modes */
138
  bool umask_specified; /* user specified a unit mask */
139
  char um_numeric_val_as_str[OP_MAX_UM_NAME_STR_LEN];
136
    bool throttled;  /* set to true if the event is ever throttled */
140
    bool throttled;  /* set to true if the event is ever throttled */
137
} operf_event_t;
141
} operf_event_t;
138
142
139
struct mmap_info {
143
struct mmap_info {
140
    u64 offset, file_data_size, file_data_offset, head;
144
    u64 offset, file_data_size, file_data_offset, head;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks