mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC GIT PULL v2] perf updates
@ 2011-01-07 17:08 Frederic Weisbecker
  2011-01-07 17:08 ` [PATCH 1/2] x86, dumpstack: Fix unused variable warning Frederic Weisbecker
  0 siblings, 1 reply; 2+ messages in thread
From: Frederic Weisbecker @ 2011-01-07 17:08 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: LKML, Frederic Weisbecker, Peter Zijlstra,
	Arnaldo Carvalho de Melo, Jan Beulich

Ingo,

Please pull the perf/core branch that can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
	perf/core
	
The changelog of the rbp/pt_regs patch has been refined and
the CFI annotations reported by Jan (and another I found lately)
have been fixed, hopefully.

Thanks,
	Frederic
---

Frederic Weisbecker (1):
      x86: Save rbp in pt_regs on irq entry

Rakib Mullick (1):
      x86, dumpstack: Fix unused variable warning


 arch/x86/kernel/dumpstack.c |    6 ------
 arch/x86/kernel/entry_64.S  |   36 +++++++++++++++++++++++-------------
 2 files changed, 23 insertions(+), 19 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/2] x86, dumpstack: Fix unused variable warning
  2011-01-07 17:08 [RFC GIT PULL v2] perf updates Frederic Weisbecker
@ 2011-01-07 17:08 ` Frederic Weisbecker
  0 siblings, 0 replies; 2+ messages in thread
From: Frederic Weisbecker @ 2011-01-07 17:08 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: LKML, Rakib Mullick, Soeren Sandmann, Peter Zijlstra,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin,
	Frederic Weisbecker

From: Rakib Mullick <rakib.mullick@gmail.com>

In dump_stack function, bp isn't used anymore, which is introduced by
commit 9c0729dc8062bed96189bd14ac6d4920f3958743. This patch removes bp
completely.

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Cc: Soeren Sandmann <sandmann@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <AANLkTik9U_Z0WSZ7YjrykER_pBUfPDdgUUmtYx=R74nL@mail.gmail.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
---
 arch/x86/kernel/dumpstack.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/arch/x86/kernel/dumpstack.c b/arch/x86/kernel/dumpstack.c
index 8474c99..d6fb146 100644
--- a/arch/x86/kernel/dumpstack.c
+++ b/arch/x86/kernel/dumpstack.c
@@ -197,14 +197,8 @@ void show_stack(struct task_struct *task, unsigned long *sp)
  */
 void dump_stack(void)
 {
-	unsigned long bp = 0;
 	unsigned long stack;
 
-#ifdef CONFIG_FRAME_POINTER
-	if (!bp)
-		get_bp(bp);
-#endif
-
 	printk("Pid: %d, comm: %.20s %s %s %.*s\n",
 		current->pid, current->comm, print_tainted(),
 		init_utsname()->release,
-- 
1.7.3.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-07 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-07 17:08 [RFC GIT PULL v2] perf updates Frederic Weisbecker
2011-01-07 17:08 ` [PATCH 1/2] x86, dumpstack: Fix unused variable warning Frederic Weisbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome