Lines Matching defs:entry
29 static inline void callchain_store(struct perf_callchain_entry *entry, u64 ip)
31 unsigned int nr = entry->nr;
34 entry->ip[nr] = ip;
35 entry->nr = nr + 1;
62 struct perf_callchain_entry *entry)
72 callchain_store(entry, PERF_CONTEXT_KERNEL);
73 callchain_store(entry, regs->nip);
92 callchain_store(entry, PERF_CONTEXT_KERNEL);
114 callchain_store(entry, next_ip);
237 struct perf_callchain_entry *entry)
249 callchain_store(entry, PERF_CONTEXT_USER);
250 callchain_store(entry, next_ip);
279 callchain_store(entry, PERF_CONTEXT_USER);
280 callchain_store(entry, next_ip);
286 callchain_store(entry, next_ip);
319 struct perf_callchain_entry *entry)
439 struct perf_callchain_entry *entry)
450 callchain_store(entry, PERF_CONTEXT_USER);
451 callchain_store(entry, next_ip);
453 while (entry->nr < PERF_MAX_STACK_DEPTH) {
473 callchain_store(entry, PERF_CONTEXT_USER);
474 callchain_store(entry, next_ip);
480 callchain_store(entry, next_ip);
494 struct perf_callchain_entry *entry = &__get_cpu_var(cpu_perf_callchain);
496 entry->nr = 0;
499 perf_callchain_kernel(regs, entry);
508 perf_callchain_user_64(regs, entry);
510 perf_callchain_user_32(regs, entry);
513 return entry;