public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12 v2] perf lock: New subcommand "perf lock", for analyzing lock statistics
@ 2010-01-30 11:43 Hitoshi Mitake
  2010-01-30 11:43 ` [PATCH v2 01/11] perf tools: Add __data_loc support Hitoshi Mitake
                   ` (12 more replies)
  0 siblings, 13 replies; 24+ messages in thread
From: Hitoshi Mitake @ 2010-01-30 11:43 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel, Hitoshi Mitake

Adding new subcommand "perf lock" to perf.

I made this patch series on
latest perf/core of tip (ef12a141306c90336a3a10d40213ecd98624d274),
so please apply this series to perf/core.

This patch is version 2.
I removed lack of util/include/linux/hash.h
and compile error of builtin-lock.c on 32bit env.

Sorry for my slow work, Frederic and Ingo.
I have a lot of rest ToDos,
but finally perf lock can provide minimal functions for analyzing lock statistics.

This series requires one more revirting patch.
But it is very temporary solution,
so I cannot make this series include it.
I'll send it as reply to this cover letter later only for testing,
if you are interested in testing this series,
you need to apply it.

Hitoshi Mitake (11):
  perf tools: Add __data_loc support
  perf: Add util/include/linuxhash.h to include hash.h of kernel
  lockdep: Add information of file and line where lock inited to struct
    lockdep_map
  lockdep: Add file and line to initialize sequence of spinlock
  lockdep: Add file and line to initialize sequence of rwlock
  lockdep:  Add file and line to initialize sequence of rwsem
  lockdep:  Add file and line to initialize sequence of rwsem (x86)
  lockdep: Add file and line to initialize sequence of mutex
  lockdep: Fix the way to initialize class_mutex for information of
    file and line
  perf lock: Enhance information of lock trace events
  perf lock: New subcommand "perf lock", for analyzing lock statistics

 arch/x86/include/asm/rwsem.h         |    9 +-
 drivers/base/class.c                 |    3 +-
 include/linux/lockdep.h              |   20 +-
 include/linux/mutex-debug.h          |    2 +-
 include/linux/mutex.h                |   12 +-
 include/linux/rwlock.h               |    6 +-
 include/linux/rwlock_types.h         |    6 +-
 include/linux/rwsem-spinlock.h       |   11 +-
 include/linux/spinlock.h             |    6 +-
 include/linux/spinlock_types.h       |    6 +-
 include/trace/events/lock.h          |   49 ++-
 kernel/lockdep.c                     |   10 +-
 kernel/mutex-debug.c                 |    5 +-
 kernel/mutex-debug.h                 |    3 +-
 kernel/mutex.c                       |    5 +-
 kernel/mutex.h                       |    2 +-
 lib/rwsem-spinlock.c                 |    5 +-
 lib/rwsem.c                          |    5 +-
 lib/spinlock_debug.c                 |   12 +-
 tools/perf/Makefile                  |    2 +
 tools/perf/builtin-lock.c            |  724 ++++++++++++++++++++++++++++++++++
 tools/perf/builtin.h                 |    1 +
 tools/perf/perf.c                    |    1 +
 tools/perf/util/include/linux/hash.h |    5 +
 tools/perf/util/trace-event-parse.c  |    7 +
 25 files changed, 870 insertions(+), 47 deletions(-)
 create mode 100644 tools/perf/builtin-lock.c
 create mode 100644 tools/perf/util/include/linux/hash.h


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

end of thread, other threads:[~2010-02-28  8:58 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-30 11:43 [PATCH 00/12 v2] perf lock: New subcommand "perf lock", for analyzing lock statistics Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 01/11] perf tools: Add __data_loc support Hitoshi Mitake
2010-01-31  8:31   ` [tip:perf/core] " tip-bot for Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 02/11] perf: Add util/include/linuxhash.h to include hash.h of kernel Hitoshi Mitake
2010-01-31  8:31   ` [tip:perf/core] " tip-bot for Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 03/11] lockdep: Add information of file and line where lock inited to struct lockdep_map Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 04/11] lockdep: Add file and line to initialize sequence of spinlock Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 05/11] lockdep: Add file and line to initialize sequence of rwlock Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 06/11] lockdep: Add file and line to initialize sequence of rwsem Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 07/11] lockdep: Add file and line to initialize sequence of rwsem (x86) Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 08/11] lockdep: Add file and line to initialize sequence of mutex Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 09/11] lockdep: Fix the way to initialize class_mutex for information of file and line Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 10/11] perf lock: Enhance information of lock trace events Hitoshi Mitake
2010-01-31  8:31   ` [tip:perf/core] " tip-bot for Hitoshi Mitake
2010-01-30 11:43 ` [PATCH v2 11/11] perf lock: New subcommand "perf lock", for analyzing lock statistics Hitoshi Mitake
2010-01-31  8:32   ` [tip:perf/core] perf lock: Introduce new tool " tip-bot for Hitoshi Mitake
2010-01-31  8:32   ` [tip:perf/core] perf lock: Clean up various details tip-bot for Ingo Molnar
2010-01-30 11:55 ` Revert "perf record: Intercept all events" Hitoshi Mitake
2010-01-31  8:29 ` [PATCH 00/12 v2] perf lock: New subcommand "perf lock", for analyzing lock statistics Ingo Molnar
2010-01-31 20:31   ` Frederic Weisbecker
2010-02-01  7:27     ` Ingo Molnar
2010-02-04  7:08       ` [PATCH] perf lock: Fix and add misc documentally things Hitoshi Mitake
2010-02-28  8:57         ` [tip:perf/core] " tip-bot for Hitoshi Mitake
2010-02-04  7:04   ` [PATCH 00/12 v2] perf lock: New subcommand "perf lock", for analyzing lock statistics Hitoshi Mitake

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