~ubuntu-branches/ubuntu/precise/linux-linaro-u8500/precise

« back to all changes in this revision

Viewing changes to include/trace/lockdep.h

  • Committer: Bazaar Package Importer
  • Author(s): John Rigby, Upstream Fixes, Andy Green, John Rigby
  • Date: 2011-04-14 12:16:06 UTC
  • Revision ID: james.westby@ubuntu.com-20110414121606-b77podkyqgr2oix7
Tags: 2.6.38-1002.3
[ Upstream Fixes ]

* MUSB: shutdown: Make sure block is awake before doing shutdown
  - LP: #745737
* Fixed gpio polarity of gpio USB-phy reset.
  - LP: #747639

[ Andy Green ]

* LINARO: SAUCE: disable CONFIG_OMAP_RESET_CLOCKS
  - LP: #752900

[ John Rigby ]

* Rebase to new upstreams:
  Linux v2.6.38.1
  linaro-linux-2.6.38-upstream-29Mar2011
  Ubuntu-2.6.38-7.35
* SAUCE: OMAP4: clock: wait for module to become accessible on
  a clk enable
  - LP: #745737
* Rebase to new upstreams:
  Linux v2.6.38.2
  linaro-linux-2.6.38-upstream-5Apr2011
  Ubuntu-2.6.38-8.41
  - LP: #732842
* Update configs for device tree, dvfs and lttng
* LINARO: add building of dtb's
* LINARO: SAUCE: Disable lowest operating freqs on omap34xx
  - LP: #732912

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _LTTNG_TRACE_LOCKDEP_H
 
2
#define _LTTNG_TRACE_LOCKDEP_H
 
3
 
 
4
#include <linux/lockdep.h>
 
5
#include <linux/tracepoint.h>
 
6
 
 
7
/*
 
8
 * lockdep tracing must be very careful with respect to reentrancy.
 
9
 *
 
10
 * It should not use immediate values for activation because it involves
 
11
 * traps called when the code patching is done.
 
12
 */
 
13
DECLARE_TRACE(lockdep_hardirqs_on,
 
14
        TP_PROTO(unsigned long retaddr),
 
15
                TP_ARGS(retaddr));
 
16
DECLARE_TRACE(lockdep_hardirqs_off,
 
17
        TP_PROTO(unsigned long retaddr),
 
18
                TP_ARGS(retaddr));
 
19
DECLARE_TRACE(lockdep_softirqs_on,
 
20
        TP_PROTO(unsigned long retaddr),
 
21
                TP_ARGS(retaddr));
 
22
DECLARE_TRACE(lockdep_softirqs_off,
 
23
        TP_PROTO(unsigned long retaddr),
 
24
                TP_ARGS(retaddr));
 
25
 
 
26
/* FIXME : some duplication with lockdep TRACE EVENTs */
 
27
DECLARE_TRACE(lockdep_lock_acquire,
 
28
        TP_PROTO(unsigned long retaddr, unsigned int subclass,
 
29
                        struct lockdep_map *lock, int trylock, int read,
 
30
                        int hardirqs_off),
 
31
                TP_ARGS(retaddr, subclass, lock, trylock, read, hardirqs_off));
 
32
DECLARE_TRACE(lockdep_lock_release,
 
33
        TP_PROTO(unsigned long retaddr, struct lockdep_map *lock, int nested),
 
34
                TP_ARGS(retaddr, lock, nested));
 
35
 
 
36
 
 
37
#endif /* _LTTNG_TRACE_LOCKDEP_H */