diff options
Diffstat (limited to 'meta/recipes-kernel/systemtap/systemtap/x32_abi_time.patch')
-rw-r--r-- | meta/recipes-kernel/systemtap/systemtap/x32_abi_time.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-kernel/systemtap/systemtap/x32_abi_time.patch b/meta/recipes-kernel/systemtap/systemtap/x32_abi_time.patch deleted file mode 100644 index 28a7eae407..0000000000 --- a/meta/recipes-kernel/systemtap/systemtap/x32_abi_time.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | Fix time_t print because in x32 ABI is long long int instead of long int. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> | ||
6 | |||
7 | diff --git a/cache.cxx b/cache.cxx | ||
8 | index 3546b30..19c77ca 100644 | ||
9 | --- a/cache.cxx | ||
10 | +++ b/cache.cxx | ||
11 | @@ -294,7 +294,11 @@ clean_cache(systemtap_session& s) | ||
12 | { | ||
13 | //interval not passed, don't continue | ||
14 | if (s.verbose > 1) | ||
15 | +#if defined(__x86_64__) && defined (__ILP32__) | ||
16 | + clog << _F("Cache cleaning skipped, interval not reached %lld s / %lu s.", | ||
17 | +#else | ||
18 | clog << _F("Cache cleaning skipped, interval not reached %lu s / %lu s.", | ||
19 | +#endif | ||
20 | (current_time.tv_sec-sb.st_mtime), cache_clean_interval) << endl; | ||
21 | return; | ||
22 | } | ||
23 | @@ -302,7 +306,11 @@ clean_cache(systemtap_session& s) | ||
24 | { | ||
25 | //interval reached, continue | ||
26 | if (s.verbose > 1) | ||
27 | +#if defined(__x86_64__) && defined (__ILP32__) | ||
28 | + clog << _F("Cleaning cache, interval reached %lld s > %lu s.", | ||
29 | +#else | ||
30 | clog << _F("Cleaning cache, interval reached %lu s > %lu s.", | ||
31 | +#endif | ||
32 | (current_time.tv_sec-sb.st_mtime), cache_clean_interval) << endl; | ||
33 | } | ||
34 | |||