diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-21 15:36:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-21 15:36:47 +0000 |
commit | 10b487273a3785d829b0ad56c63c73f59db663b3 (patch) | |
tree | faa123d170fa7a337732a44943ecb8d17816f6ce /package/devel/oprofile/patches/100-musl.patch | |
parent | 24f553e2d87ee018028ffa4026eafff876cca79b (diff) | |
download | upstream-10b487273a3785d829b0ad56c63c73f59db663b3.tar.gz upstream-10b487273a3785d829b0ad56c63c73f59db663b3.tar.bz2 upstream-10b487273a3785d829b0ad56c63c73f59db663b3.zip |
oprofile: delete the package, it has become useless now that perf is working
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48431
Diffstat (limited to 'package/devel/oprofile/patches/100-musl.patch')
-rw-r--r-- | package/devel/oprofile/patches/100-musl.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/package/devel/oprofile/patches/100-musl.patch b/package/devel/oprofile/patches/100-musl.patch deleted file mode 100644 index 05a5283146..0000000000 --- a/package/devel/oprofile/patches/100-musl.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- a/pe_profiling/operf.cpp -+++ b/pe_profiling/operf.cpp -@@ -857,11 +857,14 @@ static int __delete_old_previous_sample_ - int tflag __attribute__((unused)), - struct FTW *ftwbuf __attribute__((unused))) - { -+ int err; -+ - if (remove(fpath)) { -+ err = errno; - perror("sample data removal error"); -- return FTW_STOP; -+ return err; - } else { -- return FTW_CONTINUE; -+ return 0; - } - } - -@@ -896,7 +899,7 @@ static void convert_sample_data(void) - return; - - if (!operf_options::append) { -- int flags = FTW_DEPTH | FTW_ACTIONRETVAL; -+ int flags = FTW_DEPTH; - errno = 0; - if (nftw(previous_sampledir.c_str(), __delete_old_previous_sample_data, 32, flags) !=0 && - errno != ENOENT) { ---- a/libop/op_events.c -+++ b/libop/op_events.c -@@ -83,7 +83,7 @@ static int parse_hex(char const * str) - static u64 parse_long_hex(char const * str) - { - u64 value; -- if (sscanf(str, "%Lx", &value) != 1) -+ if (sscanf(str, "0x%llx", &value) != 1) - parse_error("expected long hexadecimal value"); - - fflush(stderr); |