~ubuntu-branches/ubuntu/karmic/linux-mvl-dove/karmic-proposed

« back to all changes in this revision

Viewing changes to arch/arm/mach-dove/mv_hal_support/dbg-trace.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader
  • Date: 2010-03-10 22:24:12 UTC
  • mto: (15.1.2 karmic-security)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20100310222412-k86m3r53jw0je7x1
Tags: upstream-2.6.31
ImportĀ upstreamĀ versionĀ 2.6.31

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#ifndef _MV_DBG_TRCE_H_
3
 
#define _MV_DBG_TRCE_H_
4
 
 
5
 
#ifdef CONFIG_MV_DBG_TRACE
6
 
void TRC_INIT(void *callback1, void *callback2, 
7
 
    unsigned char callback1_param, unsigned char callback2_param);
8
 
void TRC_REC(char *fmt,...);
9
 
void TRC_OUTPUT(void);
10
 
void TRC_RELEASE(void);
11
 
void TRC_START(void);
12
 
void TRC_STOP(void);
13
 
 
14
 
#else
15
 
#define TRC_INIT(x1,x2,x3,x4)
16
 
#define TRC_REC(X...)
17
 
#define TRC_OUTPUT()
18
 
#define TRC_RELEASE()
19
 
#define TRC_START()
20
 
#define TRC_STOP()
21
 
#endif
22
 
 
23
 
 
24
 
#endif