Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199110
b: refs/heads/master
c: 85cb68b
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker committed May 20, 2010
1 parent fd6c203 commit a495797
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49f135ed02828a58b2401f149926c2e3c9cb0116
refs/heads/master: 85cb68b27c428d477169f3aa46c72dba103a17bd
7 changes: 6 additions & 1 deletion trunk/tools/perf/util/trace-event.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,12 @@ static inline unsigned long long __data2host8(unsigned long long data)

#define data2host2(ptr) __data2host2(*(unsigned short *)ptr)
#define data2host4(ptr) __data2host4(*(unsigned int *)ptr)
#define data2host8(ptr) __data2host8(*(unsigned long long *)ptr)
#define data2host8(ptr) ({ \
unsigned long long __val; \
\
memcpy(&__val, (ptr), sizeof(unsigned long long)); \
__data2host8(__val); \
})

extern int header_page_ts_offset;
extern int header_page_ts_size;
Expand Down

0 comments on commit a495797

Please sign in to comment.