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

« back to all changes in this revision

Viewing changes to include/trace/events/fs.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
 
#undef TRACE_SYSTEM
2
 
#define TRACE_SYSTEM fs
3
 
 
4
 
#if !defined(_TRACE_FS_H) || defined(TRACE_HEADER_MULTI_READ)
5
 
#define _TRACE_FS_H
6
 
 
7
 
#include <linux/fs.h>
8
 
#include <linux/tracepoint.h>
9
 
 
10
 
TRACE_EVENT(do_sys_open,
11
 
 
12
 
        TP_PROTO(char *filename, int flags, int mode),
13
 
 
14
 
        TP_ARGS(filename, flags, mode),
15
 
 
16
 
        TP_STRUCT__entry(
17
 
                __string(       filename, filename              )
18
 
                __field(        int, flags                      )
19
 
                __field(        int, mode                       )
20
 
        ),
21
 
 
22
 
        TP_fast_assign(
23
 
                __assign_str(filename, filename);
24
 
                __entry->flags = flags;
25
 
                __entry->mode = mode;
26
 
        ),
27
 
 
28
 
        TP_printk("\"%s\" %x %o",
29
 
                  __get_str(filename), __entry->flags, __entry->mode)
30
 
);
31
 
 
32
 
TRACE_EVENT(open_exec,
33
 
 
34
 
        TP_PROTO(char *filename),
35
 
 
36
 
        TP_ARGS(filename),
37
 
 
38
 
        TP_STRUCT__entry(
39
 
                __string(       filename, filename              )
40
 
        ),
41
 
 
42
 
        TP_fast_assign(
43
 
                __assign_str(filename, filename);
44
 
        ),
45
 
 
46
 
        TP_printk("\"%s\"",
47
 
                  __get_str(filename))
48
 
);
49
 
 
50
 
#endif /* _TRACE_FS_H */
51
 
 
52
 
/* This part must be outside protection */
53
 
#include <trace/define_trace.h>