summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/blktrace
Commit message (Collapse)AuthorAgeFilesLines
* blktrace: modify two scripts for python3Joe Slater2020-03-062-0/+198
| | | | | | | | | Backport from git.kernel.dk. Changed shebangs to use python3. (From OE-Core rev: 2c0ca4632f6c2ce645412ca975a70b3088c27916) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: Security fix CVE-2018-10689Yi Zhao2018-08-282-0/+151
| | | | | | | | | | | | | | | | | | | CVE-2018-10689: blktrace (aka Block IO Tracing) 1.2.0, as used with the Linux kernel and Android, has a buffer overflow in the dev_map_read function in btt/devmap.c because the device and devno arrays are too small, as demonstrated by an invalid free when using the btt program with a crafted file. References: https://nvd.nist.gov/vuln/detail/CVE-2018-10689 Patch from: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git/commit/?id=d61ff409cb4dda31386373d706ea0cfb1aaac5b7 (From OE-Core rev: 6a7ed8b1db10abd38bdd20c77a8f27427d381156) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: refresh patchesRoss Burton2018-03-111-4/+12
| | | | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 0666146a9f12c90e2b5f9fd3b03b21429fb9327c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: 1.1.0+gitX -> 1.2.0+gitXHuang Qiyu2018-01-293-36/+5
| | | | | | | | | | | | 1.Upgrade blktrace form 1.1.0+gitX to 1.2.0+gitX 2.Delete 0001-include-sys-types.h-for-dev_t-definition.patch, since it is integrated upstream. 3.Modify ldflags.patch, since iowatcher/Makefile has been changed. (From OE-Core rev: bd1326a1e778f1c774fe3efd93b888bf9ee9df3d) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: Add HOMEPAGE info into recipe file.Huang Qiyu2017-09-181-0/+1
| | | | | | | | (From OE-Core rev: 4fd741bfb6499e8e851bc073dce705e44e65bccc) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: Include <sys/types.h for dev_tKhem Raj2016-01-242-1/+33
| | | | | | | (From OE-Core rev: 1151b2402328f867dae11a5ef836218bbe66dd25) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blkspace: fix ldflags for iowatcherChristopher Larson2015-11-251-5/+18
| | | | | | | | | | This quiets a GNU_HASH warning. (From OE-Core rev: ad8a2ca46075a7ea236d6db9da963dc0040d2206) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: 1.0.5 -> 1.1.0Robert Yang2015-06-111-3/+2
| | | | | | | (From OE-Core rev: 032402438befd5906d05fed843bab9520bf7fc3e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "blktrace: fix and enable parallel build"Robert Yang2015-03-162-44/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2d9763a1c8685e9bd3a6b0aa0995eec5112dc4a7. There are a few parallel issues: 1) ../rbtree.o: error adding symbols: Invalid operation collect2: error: ld returned 1 exit status Makefile:42: recipe for target 'btt' failed 2) git/blkiomon.c:216: undefined reference to `rb_insert_color' collect2: error: ld returned 1 exit status Makefile:27: recipe for target 'blkparse' failed 3) ld: rbtree.o: invalid string offset 128 >= 125 for section `.strtab' 4) btreplay.o: file not recognized: File truncated collect2: error: ld returned 1 exit status btreplay/btreplay.c:47:18: fatal error: list.h: No such file or directory (From OE-Core rev: 35bb619486d7f5721e8fa86c8744d4cea4d1746a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: fix and enable parallel buildRobert Yang2015-02-152-2/+44
| | | | | | | (From OE-Core rev: 521ec7e979409f213cd98ed6015fdba2fce89243) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: obey LDFLAGS for btrecordChristopher Larson2014-09-221-2/+6
| | | | | | | (From OE-Core rev: 43be08bbfc3fd7ae2a8143ccd5d51d48394f4e77) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* remove the unnecessary protocol parametersJackie Huang2013-08-301-1/+1
| | | | | | | | | | | It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. (From OE-Core rev: a2bab241c64428d5109c3c5ac5de4463fbad70c5) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: add back do_install methodSaul Wold2013-01-221-1/+7
| | | | | | | | | | | The recent change to blktrace removed the do_install method, since this recipe does not use autotools it needs to specifiy a do_install activity. (From OE-Core rev: f8832d969746fb879e63d1b28e6beef5ab82a39d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: essentially rework the recipe, obey LDFLAGSFahad Usman2012-12-263-65/+97
| | | | | | | | | | | | | | (From OE-Core rev: 8d5fa8f26e4cc366ac566d3682bd74eb4578cc6d) Signed-off-by: Christopher Larson <chris_larson@mentor.com> the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id aed463414e2e2bf8ca44ba54ee5973e7ed599e57 Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: update to version 1.0.5Tom Zanussi2012-03-191-3/+3
| | | | | | | | | Update blktrace to reflect the newer 1.0.5 tag. (From OE-Core rev: c981fa4fad8a457882293157b7bdca05aad5a778) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add Upstream-Status to patchesSaul Wold2012-01-031-0/+2
| | | | | | | (From OE-Core rev: 169e55d802883df763dbff4a4737e05e96358fa3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: update to version 1.0.3Tom Zanussi2011-09-282-34/+4
| | | | | | | | | | | | This also removes dso_linking_change_build_fix.patch since the same change has been made upstream. Also removes unused SRC_URI checksums. (From OE-Core rev: 776942858cad072facc9b5fea618ee88ff56a3a8) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky-default-revisions: move the SRCREV to recipe fileYu Ke2011-05-041-0/+2
| | | | | | | | | in this case, those non poky distro can also use these recipe normally (From OE-Core rev: 0a57bd226cdb8332707fa0f46fcf0b067f03701a) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: fix build issue with gcc dso linking changeNitin A Kamble2011-01-202-2/+29
| | | | | | | | | All the libraries needs to be specified explicitely with the new gcc dso linking change patch. This was causing build errors for this recipe. Specifying the libXrender library explicitely for linking to work without errors. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* blktrace: Fix parallel make issueTom Zanussi2010-12-302-3/+3
| | | | | | | | | | | | | | | Fixes [BUGID #581] When PARALLEL_MAKE is used with the current blktrace Makefile, the btreplay and btrecord object files can end up being built multiple times in parallel, which occasionally causes the linker to pick up the object files in intermediate and seemingly corrupt states, and causes the spurious link errors in the bug report. This fix restricts the recursive btreplay invocations to building only btreplay or btrecord as appropriate, not both. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* blktrace: new packageTom Zanussi2010-11-222-0/+78
Add blktrace, a tool for generating traces of the I/O traffic on block devices. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>