event.h (a6e5281780d1da65c15ce529707f43eb4a6df856) event.h (daeecbc0c431f15f492fb8d704080a02de6e2918)
1#ifndef __PERF_RECORD_H
2#define __PERF_RECORD_H
3
4#include <limits.h>
5#include <stdio.h>
6
7#include "../perf.h"
8#include "map.h"

--- 296 unchanged lines hidden (view full) ---

305struct attr_event {
306 struct perf_event_header header;
307 struct perf_event_attr attr;
308 u64 id[];
309};
310
311enum {
312 PERF_EVENT_UPDATE__UNIT = 0,
1#ifndef __PERF_RECORD_H
2#define __PERF_RECORD_H
3
4#include <limits.h>
5#include <stdio.h>
6
7#include "../perf.h"
8#include "map.h"

--- 296 unchanged lines hidden (view full) ---

305struct attr_event {
306 struct perf_event_header header;
307 struct perf_event_attr attr;
308 u64 id[];
309};
310
311enum {
312 PERF_EVENT_UPDATE__UNIT = 0,
313 PERF_EVENT_UPDATE__SCALE = 1,
313};
314
314};
315
316struct event_update_event_scale {
317 double scale;
318};
319
315struct event_update_event {
316 struct perf_event_header header;
317 u64 type;
318 u64 id;
319
320 char data[];
321};
322

--- 322 unchanged lines hidden ---
320struct event_update_event {
321 struct perf_event_header header;
322 u64 type;
323 u64 id;
324
325 char data[];
326};
327

--- 322 unchanged lines hidden ---