perf probe: Search SDT/cached event from all probe caches
[deliverable/linux.git] / tools / perf / util / event.h
CommitLineData
cdd6c482
IM
1#ifndef __PERF_RECORD_H
2#define __PERF_RECORD_H
8b40f521 3
4a58e611 4#include <limits.h>
482ad897 5#include <stdio.h>
4a58e611 6
1fe2c106 7#include "../perf.h"
4a58e611 8#include "map.h"
4383db88 9#include "build-id.h"
0c4e774f 10#include "perf_regs.h"
e083a21f 11#include <asm/perf_regs.h>
1fe2c106 12
1fe2c106
FW
13struct mmap_event {
14 struct perf_event_header header;
15 u32 pid, tid;
16 u64 start;
17 u64 len;
18 u64 pgoff;
19 char filename[PATH_MAX];
20};
21
5c5e854b
SE
22struct mmap2_event {
23 struct perf_event_header header;
24 u32 pid, tid;
25 u64 start;
26 u64 len;
27 u64 pgoff;
28 u32 maj;
29 u32 min;
30 u64 ino;
31 u64 ino_generation;
7ef80703
DZ
32 u32 prot;
33 u32 flags;
5c5e854b
SE
34 char filename[PATH_MAX];
35};
36
1fe2c106
FW
37struct comm_event {
38 struct perf_event_header header;
39 u32 pid, tid;
40 char comm[16];
41};
42
43struct fork_event {
44 struct perf_event_header header;
45 u32 pid, ppid;
46 u32 tid, ptid;
393b2ad8 47 u64 time;
1fe2c106
FW
48};
49
50struct lost_event {
51 struct perf_event_header header;
52 u64 id;
53 u64 lost;
54};
55
c4937a91
KL
56struct lost_samples_event {
57 struct perf_event_header header;
58 u64 lost;
59};
60
18408ddc
PZ
61/*
62 * PERF_FORMAT_ENABLED | PERF_FORMAT_RUNNING | PERF_FORMAT_ID
63 */
1fe2c106
FW
64struct read_event {
65 struct perf_event_header header;
dc02bf71 66 u32 pid, tid;
1fe2c106
FW
67 u64 value;
68 u64 time_enabled;
69 u64 time_running;
70 u64 id;
71};
72
dd96c46b
JO
73struct throttle_event {
74 struct perf_event_header header;
75 u64 time;
76 u64 id;
77 u64 stream_id;
78};
a2854124
FW
79
80#define PERF_SAMPLE_MASK \
81 (PERF_SAMPLE_IP | PERF_SAMPLE_TID | \
82 PERF_SAMPLE_TIME | PERF_SAMPLE_ADDR | \
83 PERF_SAMPLE_ID | PERF_SAMPLE_STREAM_ID | \
75562573
AH
84 PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD | \
85 PERF_SAMPLE_IDENTIFIER)
a2854124 86
a65cb4b9
JO
87/* perf sample has 16 bits size limit */
88#define PERF_SAMPLE_MAX_SIZE (1 << 16)
89
180f95e2 90struct sample_event {
fd39e055
AV
91 struct perf_event_header header;
92 u64 array[];
93};
94
0f6a3015 95struct regs_dump {
5b95a4a3 96 u64 abi;
352ea45a 97 u64 mask;
0f6a3015 98 u64 *regs;
0c4e774f
JO
99
100 /* Cached values/mask filled by first register access. */
101 u64 cache_regs[PERF_REGS_MAX];
102 u64 cache_mask;
0f6a3015
JO
103};
104
105struct stack_dump {
106 u16 offset;
107 u64 size;
108 char *data;
109};
110
9ede473c
JO
111struct sample_read_value {
112 u64 value;
113 u64 id;
114};
115
116struct sample_read {
117 u64 time_enabled;
118 u64 time_running;
119 union {
120 struct {
121 u64 nr;
122 struct sample_read_value *values;
123 } group;
124 struct sample_read_value one;
125 };
126};
127
0776eb59
JO
128struct ip_callchain {
129 u64 nr;
130 u64 ips[0];
131};
132
133struct branch_flags {
134 u64 mispred:1;
135 u64 predicted:1;
136 u64 in_tx:1;
137 u64 abort:1;
0e332f03
AK
138 u64 cycles:16;
139 u64 reserved:44;
0776eb59
JO
140};
141
142struct branch_entry {
143 u64 from;
144 u64 to;
145 struct branch_flags flags;
146};
147
148struct branch_stack {
149 u64 nr;
150 struct branch_entry entries[0];
151};
152
00447ccd
AH
153enum {
154 PERF_IP_FLAG_BRANCH = 1ULL << 0,
155 PERF_IP_FLAG_CALL = 1ULL << 1,
156 PERF_IP_FLAG_RETURN = 1ULL << 2,
157 PERF_IP_FLAG_CONDITIONAL = 1ULL << 3,
158 PERF_IP_FLAG_SYSCALLRET = 1ULL << 4,
159 PERF_IP_FLAG_ASYNC = 1ULL << 5,
160 PERF_IP_FLAG_INTERRUPT = 1ULL << 6,
161 PERF_IP_FLAG_TX_ABORT = 1ULL << 7,
162 PERF_IP_FLAG_TRACE_BEGIN = 1ULL << 8,
163 PERF_IP_FLAG_TRACE_END = 1ULL << 9,
164 PERF_IP_FLAG_IN_TX = 1ULL << 10,
165};
166
400ea6d3
AH
167#define PERF_IP_FLAG_CHARS "bcrosyiABEx"
168
00447ccd
AH
169#define PERF_BRANCH_MASK (\
170 PERF_IP_FLAG_BRANCH |\
171 PERF_IP_FLAG_CALL |\
172 PERF_IP_FLAG_RETURN |\
173 PERF_IP_FLAG_CONDITIONAL |\
174 PERF_IP_FLAG_SYSCALLRET |\
175 PERF_IP_FLAG_ASYNC |\
176 PERF_IP_FLAG_INTERRUPT |\
177 PERF_IP_FLAG_TX_ABORT |\
178 PERF_IP_FLAG_TRACE_BEGIN |\
179 PERF_IP_FLAG_TRACE_END)
180
8d50e5b4 181struct perf_sample {
180f95e2
OH
182 u64 ip;
183 u32 pid, tid;
184 u64 time;
185 u64 addr;
186 u64 id;
187 u64 stream_id;
180f95e2 188 u64 period;
05484298 189 u64 weight;
475eeab9 190 u64 transaction;
eed05fe7 191 u32 cpu;
180f95e2 192 u32 raw_size;
98a3b32c 193 u64 data_src;
bf493902
AH
194 u32 flags;
195 u16 insn_len;
473398a2 196 u8 cpumode;
180f95e2 197 void *raw_data;
eed05fe7 198 struct ip_callchain *callchain;
b5387528 199 struct branch_stack *branch_stack;
0f6a3015 200 struct regs_dump user_regs;
6a21c0b5 201 struct regs_dump intr_regs;
0f6a3015 202 struct stack_dump user_stack;
9ede473c 203 struct sample_read read;
180f95e2
OH
204};
205
98a3b32c
SE
206#define PERF_MEM_DATA_SRC_NONE \
207 (PERF_MEM_S(OP, NA) |\
208 PERF_MEM_S(LVL, NA) |\
209 PERF_MEM_S(SNOOP, NA) |\
210 PERF_MEM_S(LOCK, NA) |\
211 PERF_MEM_S(TLB, NA))
212
8d06367f
ACM
213struct build_id_event {
214 struct perf_event_header header;
a1645ce1 215 pid_t pid;
9ac3e487 216 u8 build_id[PERF_ALIGN(BUILD_ID_SIZE, sizeof(u64))];
8d06367f
ACM
217 char filename[];
218};
fd39e055 219
98402807 220enum perf_user_event_type { /* above any possible kernel type */
9aefcab0 221 PERF_RECORD_USER_TYPE_START = 64,
2c46dbb5 222 PERF_RECORD_HEADER_ATTR = 64,
6065210d 223 PERF_RECORD_HEADER_EVENT_TYPE = 65, /* depreceated */
9215545e 224 PERF_RECORD_HEADER_TRACING_DATA = 66,
c7929e47 225 PERF_RECORD_HEADER_BUILD_ID = 67,
98402807 226 PERF_RECORD_FINISHED_ROUND = 68,
3c659eed 227 PERF_RECORD_ID_INDEX = 69,
a16ac023
AH
228 PERF_RECORD_AUXTRACE_INFO = 70,
229 PERF_RECORD_AUXTRACE = 71,
e9bf54d2 230 PERF_RECORD_AUXTRACE_ERROR = 72,
5f3339d2 231 PERF_RECORD_THREAD_MAP = 73,
6640b6c2 232 PERF_RECORD_CPU_MAP = 74,
374fb9e3 233 PERF_RECORD_STAT_CONFIG = 75,
d80518c9 234 PERF_RECORD_STAT = 76,
2d8f0f18 235 PERF_RECORD_STAT_ROUND = 77,
ffe77725 236 PERF_RECORD_EVENT_UPDATE = 78,
46bc29b9 237 PERF_RECORD_TIME_CONV = 79,
2c46dbb5
TZ
238 PERF_RECORD_HEADER_MAX
239};
240
85ed4729
AH
241enum auxtrace_error_type {
242 PERF_AUXTRACE_ERROR_ITRACE = 1,
243 PERF_AUXTRACE_ERROR_MAX
244};
245
4318bcb7
ACM
246/*
247 * The kernel collects the number of events it couldn't send in a stretch and
248 * when possible sends this number in a PERF_RECORD_LOST event. The number of
249 * such "chunks" of lost events is stored in .nr_events[PERF_EVENT_LOST] while
250 * total_lost tells exactly how many events the kernel in fact lost, i.e. it is
251 * the sum of all struct lost_event.lost fields reported.
252 *
c4937a91
KL
253 * The kernel discards mixed up samples and sends the number in a
254 * PERF_RECORD_LOST_SAMPLES event. The number of lost-samples events is stored
255 * in .nr_events[PERF_RECORD_LOST_SAMPLES] while total_lost_samples tells
256 * exactly how many samples the kernel in fact dropped, i.e. it is the sum of
257 * all struct lost_samples_event.lost fields reported.
258 *
4318bcb7
ACM
259 * The total_period is needed because by default auto-freq is used, so
260 * multipling nr_events[PERF_EVENT_SAMPLE] by a frequency isn't possible to get
261 * the total number of low level events, it is necessary to to sum all struct
262 * sample_event.period and stash the result in total_period.
263 */
264struct events_stats {
265 u64 total_period;
266 u64 total_non_filtered_period;
267 u64 total_lost;
c4937a91 268 u64 total_lost_samples;
a38f48e3 269 u64 total_aux_lost;
4318bcb7
ACM
270 u64 total_invalid_chains;
271 u32 nr_events[PERF_RECORD_HEADER_MAX];
272 u32 nr_non_filtered_samples;
273 u32 nr_lost_warned;
274 u32 nr_unknown_events;
275 u32 nr_invalid_chains;
276 u32 nr_unknown_id;
277 u32 nr_unprocessable_samples;
85ed4729 278 u32 nr_auxtrace_errors[PERF_AUXTRACE_ERROR_MAX];
930e6fcd 279 u32 nr_proc_map_timeout;
4318bcb7
ACM
280};
281
6640b6c2
JO
282enum {
283 PERF_CPU_MAP__CPUS = 0,
284 PERF_CPU_MAP__MASK = 1,
285};
286
287struct cpu_map_entries {
288 u16 nr;
289 u16 cpu[];
290};
291
292struct cpu_map_mask {
293 u16 nr;
294 u16 long_size;
295 unsigned long mask[];
296};
297
298struct cpu_map_data {
299 u16 type;
300 char data[];
301};
302
303struct cpu_map_event {
304 struct perf_event_header header;
305 struct cpu_map_data data;
306};
307
2c46dbb5
TZ
308struct attr_event {
309 struct perf_event_header header;
310 struct perf_event_attr attr;
311 u64 id[];
8dc58101
TZ
312};
313
a6e52817
JO
314enum {
315 PERF_EVENT_UPDATE__UNIT = 0,
daeecbc0 316 PERF_EVENT_UPDATE__SCALE = 1,
802c9048 317 PERF_EVENT_UPDATE__NAME = 2,
86ebb09f
JO
318 PERF_EVENT_UPDATE__CPUS = 3,
319};
320
321struct event_update_event_cpus {
322 struct cpu_map_data cpus;
daeecbc0
JO
323};
324
325struct event_update_event_scale {
326 double scale;
a6e52817
JO
327};
328
ffe77725
JO
329struct event_update_event {
330 struct perf_event_header header;
331 u64 type;
332 u64 id;
333
334 char data[];
335};
336
cd19a035
TZ
337#define MAX_EVENT_NAME 64
338
339struct perf_trace_event_type {
340 u64 event_id;
341 char name[MAX_EVENT_NAME];
342};
343
344struct event_type_event {
345 struct perf_event_header header;
346 struct perf_trace_event_type event_type;
347};
348
9215545e
TZ
349struct tracing_data_event {
350 struct perf_event_header header;
351 u32 size;
352};
353
3c659eed
AH
354struct id_index_entry {
355 u64 id;
356 u64 idx;
357 u64 cpu;
358 u64 tid;
359};
360
361struct id_index_event {
362 struct perf_event_header header;
363 u64 nr;
364 struct id_index_entry entries[0];
365};
366
a16ac023
AH
367struct auxtrace_info_event {
368 struct perf_event_header header;
369 u32 type;
370 u32 reserved__; /* For alignment */
371 u64 priv[];
372};
373
374struct auxtrace_event {
375 struct perf_event_header header;
376 u64 size;
377 u64 offset;
378 u64 reference;
379 u32 idx;
380 u32 tid;
381 u32 cpu;
382 u32 reserved__; /* For alignment */
383};
384
e9bf54d2
AH
385#define MAX_AUXTRACE_ERROR_MSG 64
386
387struct auxtrace_error_event {
388 struct perf_event_header header;
389 u32 type;
390 u32 code;
391 u32 cpu;
392 u32 pid;
393 u32 tid;
394 u32 reserved__; /* For alignment */
395 u64 ip;
396 char msg[MAX_AUXTRACE_ERROR_MSG];
397};
398
4a96f7a0
AH
399struct aux_event {
400 struct perf_event_header header;
401 u64 aux_offset;
402 u64 aux_size;
403 u64 flags;
404};
405
0ad21f68
AH
406struct itrace_start_event {
407 struct perf_event_header header;
408 u32 pid, tid;
409};
410
0286039f
AH
411struct context_switch_event {
412 struct perf_event_header header;
413 u32 next_prev_pid;
414 u32 next_prev_tid;
415};
416
5f3339d2
JO
417struct thread_map_event_entry {
418 u64 pid;
419 char comm[16];
420};
421
422struct thread_map_event {
423 struct perf_event_header header;
424 u64 nr;
425 struct thread_map_event_entry entries[];
426};
427
374fb9e3
JO
428enum {
429 PERF_STAT_CONFIG_TERM__AGGR_MODE = 0,
430 PERF_STAT_CONFIG_TERM__INTERVAL = 1,
431 PERF_STAT_CONFIG_TERM__SCALE = 2,
432 PERF_STAT_CONFIG_TERM__MAX = 3,
433};
434
435struct stat_config_event_entry {
436 u64 tag;
437 u64 val;
438};
439
440struct stat_config_event {
441 struct perf_event_header header;
442 u64 nr;
443 struct stat_config_event_entry data[];
444};
445
d80518c9
JO
446struct stat_event {
447 struct perf_event_header header;
448
449 u64 id;
450 u32 cpu;
451 u32 thread;
452
453 union {
454 struct {
455 u64 val;
456 u64 ena;
457 u64 run;
458 };
459 u64 values[3];
460 };
461};
462
2d8f0f18
JO
463enum {
464 PERF_STAT_ROUND_TYPE__INTERVAL = 0,
465 PERF_STAT_ROUND_TYPE__FINAL = 1,
466};
467
468struct stat_round_event {
469 struct perf_event_header header;
470 u64 type;
471 u64 time;
472};
473
46bc29b9
AH
474struct time_conv_event {
475 struct perf_event_header header;
476 u64 time_shift;
477 u64 time_mult;
478 u64 time_zero;
479};
480
8115d60c 481union perf_event {
1fe2c106 482 struct perf_event_header header;
1fe2c106 483 struct mmap_event mmap;
5c5e854b 484 struct mmap2_event mmap2;
1fe2c106
FW
485 struct comm_event comm;
486 struct fork_event fork;
487 struct lost_event lost;
c4937a91 488 struct lost_samples_event lost_samples;
1fe2c106 489 struct read_event read;
dd96c46b 490 struct throttle_event throttle;
fd39e055 491 struct sample_event sample;
2c46dbb5 492 struct attr_event attr;
ffe77725 493 struct event_update_event event_update;
cd19a035 494 struct event_type_event event_type;
9215545e 495 struct tracing_data_event tracing_data;
c7929e47 496 struct build_id_event build_id;
3c659eed 497 struct id_index_event id_index;
a16ac023
AH
498 struct auxtrace_info_event auxtrace_info;
499 struct auxtrace_event auxtrace;
e9bf54d2 500 struct auxtrace_error_event auxtrace_error;
4a96f7a0 501 struct aux_event aux;
0ad21f68 502 struct itrace_start_event itrace_start;
0286039f 503 struct context_switch_event context_switch;
5f3339d2 504 struct thread_map_event thread_map;
6640b6c2 505 struct cpu_map_event cpu_map;
374fb9e3 506 struct stat_config_event stat_config;
d80518c9 507 struct stat_event stat;
2d8f0f18 508 struct stat_round_event stat_round;
46bc29b9 509 struct time_conv_event time_conv;
8115d60c 510};
66e274f3 511
8115d60c 512void perf_event__print_totals(void);
62daacb5 513
45694aa7 514struct perf_tool;
401b8e13 515struct thread_map;
6c872901 516struct cpu_map;
67424342 517struct perf_stat_config;
5796f8f0 518struct perf_counts_values;
4aa65636 519
45694aa7 520typedef int (*perf_event__handler_t)(struct perf_tool *tool,
d20deb64 521 union perf_event *event,
8115d60c 522 struct perf_sample *sample,
743eb868 523 struct machine *machine);
cf553114 524
45694aa7 525int perf_event__synthesize_thread_map(struct perf_tool *tool,
d20deb64 526 struct thread_map *threads,
7c940c18 527 perf_event__handler_t process,
9d9cad76
KL
528 struct machine *machine, bool mmap_data,
529 unsigned int proc_map_timeout);
99471c96
JO
530int perf_event__synthesize_thread_map2(struct perf_tool *tool,
531 struct thread_map *threads,
532 perf_event__handler_t process,
533 struct machine *machine);
6c872901
JO
534int perf_event__synthesize_cpu_map(struct perf_tool *tool,
535 struct cpu_map *cpus,
536 perf_event__handler_t process,
537 struct machine *machine);
45694aa7 538int perf_event__synthesize_threads(struct perf_tool *tool,
d20deb64 539 perf_event__handler_t process,
9d9cad76
KL
540 struct machine *machine, bool mmap_data,
541 unsigned int proc_map_timeout);
45694aa7 542int perf_event__synthesize_kernel_mmap(struct perf_tool *tool,
d20deb64 543 perf_event__handler_t process,
0ae617be 544 struct machine *machine);
67424342
JO
545int perf_event__synthesize_stat_config(struct perf_tool *tool,
546 struct perf_stat_config *config,
547 perf_event__handler_t process,
548 struct machine *machine);
8e381596
JO
549void perf_event__read_stat_config(struct perf_stat_config *config,
550 struct stat_config_event *event);
5796f8f0
JO
551int perf_event__synthesize_stat(struct perf_tool *tool,
552 u32 cpu, u32 thread, u64 id,
553 struct perf_counts_values *count,
554 perf_event__handler_t process,
555 struct machine *machine);
d4c22591
JO
556int perf_event__synthesize_stat_round(struct perf_tool *tool,
557 u64 time, u64 type,
558 perf_event__handler_t process,
559 struct machine *machine);
45694aa7 560int perf_event__synthesize_modules(struct perf_tool *tool,
d20deb64 561 perf_event__handler_t process,
8115d60c
ACM
562 struct machine *machine);
563
45694aa7 564int perf_event__process_comm(struct perf_tool *tool,
d20deb64
ACM
565 union perf_event *event,
566 struct perf_sample *sample,
743eb868 567 struct machine *machine);
45694aa7 568int perf_event__process_lost(struct perf_tool *tool,
d20deb64
ACM
569 union perf_event *event,
570 struct perf_sample *sample,
743eb868 571 struct machine *machine);
c4937a91
KL
572int perf_event__process_lost_samples(struct perf_tool *tool,
573 union perf_event *event,
574 struct perf_sample *sample,
575 struct machine *machine);
4a96f7a0
AH
576int perf_event__process_aux(struct perf_tool *tool,
577 union perf_event *event,
578 struct perf_sample *sample,
579 struct machine *machine);
0ad21f68
AH
580int perf_event__process_itrace_start(struct perf_tool *tool,
581 union perf_event *event,
582 struct perf_sample *sample,
583 struct machine *machine);
0286039f
AH
584int perf_event__process_switch(struct perf_tool *tool,
585 union perf_event *event,
586 struct perf_sample *sample,
587 struct machine *machine);
45694aa7 588int perf_event__process_mmap(struct perf_tool *tool,
d20deb64
ACM
589 union perf_event *event,
590 struct perf_sample *sample,
743eb868 591 struct machine *machine);
5c5e854b
SE
592int perf_event__process_mmap2(struct perf_tool *tool,
593 union perf_event *event,
594 struct perf_sample *sample,
595 struct machine *machine);
f62d3f0f
ACM
596int perf_event__process_fork(struct perf_tool *tool,
597 union perf_event *event,
598 struct perf_sample *sample,
599 struct machine *machine);
600int perf_event__process_exit(struct perf_tool *tool,
d20deb64
ACM
601 union perf_event *event,
602 struct perf_sample *sample,
743eb868 603 struct machine *machine);
45694aa7 604int perf_event__process(struct perf_tool *tool,
d20deb64
ACM
605 union perf_event *event,
606 struct perf_sample *sample,
743eb868 607 struct machine *machine);
62daacb5 608
1ed091c4 609struct addr_location;
316c7136 610
bb3eb566
ACM
611int machine__resolve(struct machine *machine, struct addr_location *al,
612 struct perf_sample *sample);
1ed091c4 613
b91fc39f
ACM
614void addr_location__put(struct addr_location *al);
615
9b0d2d87
AH
616struct thread;
617
618bool is_bts_event(struct perf_event_attr *attr);
619bool sample_addr_correlates_sym(struct perf_event_attr *attr);
c2740a87
ACM
620void thread__resolve(struct thread *thread, struct addr_location *al,
621 struct perf_sample *sample);
9b0d2d87 622
8115d60c 623const char *perf_event__name(unsigned int id);
c8446b9b 624
b1cf6f65 625size_t perf_event__sample_event_size(const struct perf_sample *sample, u64 type,
352ea45a 626 u64 read_format);
74eec26f 627int perf_event__synthesize_sample(union perf_event *event, u64 type,
352ea45a 628 u64 read_format,
74eec26f
AV
629 const struct perf_sample *sample,
630 bool swapped);
d0dd74e8 631
e803cf97
NK
632pid_t perf_event__synthesize_comm(struct perf_tool *tool,
633 union perf_event *event, pid_t pid,
634 perf_event__handler_t process,
635 struct machine *machine);
636
a18382b6
JO
637int perf_event__synthesize_mmap_events(struct perf_tool *tool,
638 union perf_event *event,
639 pid_t pid, pid_t tgid,
640 perf_event__handler_t process,
641 struct machine *machine,
9d9cad76
KL
642 bool mmap_data,
643 unsigned int proc_map_timeout);
a18382b6 644
482ad897
ACM
645size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp);
646size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp);
5c5e854b 647size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp);
482ad897 648size_t perf_event__fprintf_task(union perf_event *event, FILE *fp);
4a96f7a0 649size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp);
0ad21f68 650size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp);
0286039f 651size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp);
ec7fa596 652size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp);
eb12a1af 653size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp);
482ad897
ACM
654size_t perf_event__fprintf(union perf_event *event, FILE *fp);
655
29b596b5
AH
656u64 kallsyms__get_function_start(const char *kallsyms_filename,
657 const char *symbol_name);
658
6c872901
JO
659void *cpu_map_data__alloc(struct cpu_map *map, size_t *size, u16 *type, int *max);
660void cpu_map_data__synthesize(struct cpu_map_data *data, struct cpu_map *map,
661 u16 type, int max);
8b40f521 662#endif /* __PERF_RECORD_H */
This page took 0.313563 seconds and 5 git commands to generate.