]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/perf_event.h
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / include / linux / perf_event.h
index 6b87be908790f10be32fb48e943f487a75745a75..1a827cecd62fa36b8f7cec08a11deb7d65d000e2 100644 (file)
@@ -984,8 +984,6 @@ static inline void perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned lo
  */
 static inline void perf_fetch_caller_regs(struct pt_regs *regs)
 {
-       memset(regs, 0, sizeof(*regs));
-
        perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
 }
 
@@ -1140,7 +1138,7 @@ static inline bool perf_paranoid_kernel(void)
 }
 
 extern void perf_event_init(void);
-extern void perf_tp_event(u64 addr, u64 count, void *record,
+extern void perf_tp_event(u16 event_type, u64 count, void *record,
                          int entry_size, struct pt_regs *regs,
                          struct hlist_head *head, int rctx,
                          struct task_struct *task);