diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-01-09 15:00:38 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-01-11 08:37:57 -0800 |
| commit | 98703d0c8be3cc8a432febc517dd63cc87b440ff (patch) | |
| tree | 9bcc23b7a290c824d905f32985264b8fefd95c79 /meta-oe/recipes-kernel/trace-cmd/files/0002-Drop-using-_LARGEFILE64_SOURCE.patch | |
| parent | 07fc28a4067878fda295d0fc13532c42c6b2fa59 (diff) | |
| download | meta-openembedded-98703d0c8be3cc8a432febc517dd63cc87b440ff.tar.gz | |
trace-cmd: Update to upstream submitted patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/trace-cmd/files/0002-Drop-using-_LARGEFILE64_SOURCE.patch')
| -rw-r--r-- | meta-oe/recipes-kernel/trace-cmd/files/0002-Drop-using-_LARGEFILE64_SOURCE.patch | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/trace-cmd/files/0002-Drop-using-_LARGEFILE64_SOURCE.patch b/meta-oe/recipes-kernel/trace-cmd/files/0002-Drop-using-_LARGEFILE64_SOURCE.patch new file mode 100644 index 0000000000..7b2ea79eb3 --- /dev/null +++ b/meta-oe/recipes-kernel/trace-cmd/files/0002-Drop-using-_LARGEFILE64_SOURCE.patch | |||
| @@ -0,0 +1,145 @@ | |||
| 1 | From 47005e155c291ee6a2460cbf9eee604997e87063 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 9 Jan 2023 14:48:49 -0800 | ||
| 4 | Subject: [PATCH 2/2] Drop using _LARGEFILE64_SOURCE | ||
| 5 | |||
| 6 | Its no longer needed since we have dropped using LF64 interfaces | ||
| 7 | |||
| 8 | Upstream-Status: Submitted [https://lore.kernel.org/linux-trace-devel/20230109225315.1284538-2-raj.khem@gmail.com/T/#u] | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | lib/trace-cmd/trace-input.c | 1 - | ||
| 12 | lib/trace-cmd/trace-output.c | 1 - | ||
| 13 | lib/trace-cmd/trace-recorder.c | 1 - | ||
| 14 | tracecmd/trace-hist.c | 1 - | ||
| 15 | tracecmd/trace-listen.c | 1 - | ||
| 16 | tracecmd/trace-mem.c | 1 - | ||
| 17 | tracecmd/trace-profile.c | 1 - | ||
| 18 | tracecmd/trace-read.c | 1 - | ||
| 19 | tracecmd/trace-restore.c | 1 - | ||
| 20 | tracecmd/trace-split.c | 1 - | ||
| 21 | 10 files changed, 10 deletions(-) | ||
| 22 | |||
| 23 | diff --git a/lib/trace-cmd/trace-input.c b/lib/trace-cmd/trace-input.c | ||
| 24 | index 9b128403..3dd13ce4 100644 | ||
| 25 | --- a/lib/trace-cmd/trace-input.c | ||
| 26 | +++ b/lib/trace-cmd/trace-input.c | ||
| 27 | @@ -3,7 +3,6 @@ | ||
| 28 | * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> | ||
| 29 | * | ||
| 30 | */ | ||
| 31 | -#define _LARGEFILE64_SOURCE | ||
| 32 | #include <stdbool.h> | ||
| 33 | #include <stdio.h> | ||
| 34 | #include <stdlib.h> | ||
| 35 | diff --git a/lib/trace-cmd/trace-output.c b/lib/trace-cmd/trace-output.c | ||
| 36 | index ad740d65..eee847e3 100644 | ||
| 37 | --- a/lib/trace-cmd/trace-output.c | ||
| 38 | +++ b/lib/trace-cmd/trace-output.c | ||
| 39 | @@ -3,7 +3,6 @@ | ||
| 40 | * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> | ||
| 41 | * | ||
| 42 | */ | ||
| 43 | -#define _LARGEFILE64_SOURCE | ||
| 44 | #include <dirent.h> | ||
| 45 | #include <stdio.h> | ||
| 46 | #include <stdlib.h> | ||
| 47 | diff --git a/lib/trace-cmd/trace-recorder.c b/lib/trace-cmd/trace-recorder.c | ||
| 48 | index c172ad64..70ce52e2 100644 | ||
| 49 | --- a/lib/trace-cmd/trace-recorder.c | ||
| 50 | +++ b/lib/trace-cmd/trace-recorder.c | ||
| 51 | @@ -3,7 +3,6 @@ | ||
| 52 | * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> | ||
| 53 | * | ||
| 54 | */ | ||
| 55 | -#define _LARGEFILE64_SOURCE | ||
| 56 | #include <stdio.h> | ||
| 57 | #include <stdlib.h> | ||
| 58 | #include <fcntl.h> | ||
| 59 | diff --git a/tracecmd/trace-hist.c b/tracecmd/trace-hist.c | ||
| 60 | index efb790ac..62fe4f9b 100644 | ||
| 61 | --- a/tracecmd/trace-hist.c | ||
| 62 | +++ b/tracecmd/trace-hist.c | ||
| 63 | @@ -5,7 +5,6 @@ | ||
| 64 | * Several of the ideas in this file came from Arnaldo Carvalho de Melo's | ||
| 65 | * work on the perf ui. | ||
| 66 | */ | ||
| 67 | -#define _LARGEFILE64_SOURCE | ||
| 68 | #include <dirent.h> | ||
| 69 | #include <stdio.h> | ||
| 70 | #include <stdlib.h> | ||
| 71 | diff --git a/tracecmd/trace-listen.c b/tracecmd/trace-listen.c | ||
| 72 | index 86d2b9e9..e95c5711 100644 | ||
| 73 | --- a/tracecmd/trace-listen.c | ||
| 74 | +++ b/tracecmd/trace-listen.c | ||
| 75 | @@ -3,7 +3,6 @@ | ||
| 76 | * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> | ||
| 77 | * | ||
| 78 | */ | ||
| 79 | -#define _LARGEFILE64_SOURCE | ||
| 80 | #include <dirent.h> | ||
| 81 | #include <stdio.h> | ||
| 82 | #include <stdlib.h> | ||
| 83 | diff --git a/tracecmd/trace-mem.c b/tracecmd/trace-mem.c | ||
| 84 | index 25eb0861..3e1ac9f3 100644 | ||
| 85 | --- a/tracecmd/trace-mem.c | ||
| 86 | +++ b/tracecmd/trace-mem.c | ||
| 87 | @@ -11,7 +11,6 @@ | ||
| 88 | * was written for the newer version. I decided to do some of it here | ||
| 89 | * in C. | ||
| 90 | */ | ||
| 91 | -#define _LARGEFILE64_SOURCE | ||
| 92 | #include <dirent.h> | ||
| 93 | #include <stdio.h> | ||
| 94 | #include <stdlib.h> | ||
| 95 | diff --git a/tracecmd/trace-profile.c b/tracecmd/trace-profile.c | ||
| 96 | index 6a2cc3d0..d12a0e5e 100644 | ||
| 97 | --- a/tracecmd/trace-profile.c | ||
| 98 | +++ b/tracecmd/trace-profile.c | ||
| 99 | @@ -5,7 +5,6 @@ | ||
| 100 | */ | ||
| 101 | |||
| 102 | /** FIXME: Convert numbers based on machine and file */ | ||
| 103 | -#define _LARGEFILE64_SOURCE | ||
| 104 | #include <stdio.h> | ||
| 105 | #include <stdlib.h> | ||
| 106 | #include <string.h> | ||
| 107 | diff --git a/tracecmd/trace-read.c b/tracecmd/trace-read.c | ||
| 108 | index c094ad6a..52ba818e 100644 | ||
| 109 | --- a/tracecmd/trace-read.c | ||
| 110 | +++ b/tracecmd/trace-read.c | ||
| 111 | @@ -3,7 +3,6 @@ | ||
| 112 | * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> | ||
| 113 | * | ||
| 114 | */ | ||
| 115 | -#define _LARGEFILE64_SOURCE | ||
| 116 | #include <dirent.h> | ||
| 117 | #include <stdio.h> | ||
| 118 | #include <stdlib.h> | ||
| 119 | diff --git a/tracecmd/trace-restore.c b/tracecmd/trace-restore.c | ||
| 120 | index 5bf29c52..e9ca3225 100644 | ||
| 121 | --- a/tracecmd/trace-restore.c | ||
| 122 | +++ b/tracecmd/trace-restore.c | ||
| 123 | @@ -3,7 +3,6 @@ | ||
| 124 | * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> | ||
| 125 | * | ||
| 126 | */ | ||
| 127 | -#define _LARGEFILE64_SOURCE | ||
| 128 | #include <dirent.h> | ||
| 129 | #include <stdio.h> | ||
| 130 | #include <stdlib.h> | ||
| 131 | diff --git a/tracecmd/trace-split.c b/tracecmd/trace-split.c | ||
| 132 | index 851ec94e..1daa847d 100644 | ||
| 133 | --- a/tracecmd/trace-split.c | ||
| 134 | +++ b/tracecmd/trace-split.c | ||
| 135 | @@ -3,7 +3,6 @@ | ||
| 136 | * Copyright (C) 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> | ||
| 137 | * | ||
| 138 | */ | ||
| 139 | -#define _LARGEFILE64_SOURCE | ||
| 140 | #include <dirent.h> | ||
| 141 | #include <stdio.h> | ||
| 142 | #include <stdlib.h> | ||
| 143 | -- | ||
| 144 | 2.39.0 | ||
| 145 | |||
