aboutsummaryrefslogtreecommitdiff
path: root/core/trace.c
AgeCommit message (Collapse)AuthorFilesLines
2018-04-18core/test/run-trace: fix on ppc64elStewart Smith1-1/+2
Hackish fix from benh Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2016-12-21tree-wide: use dt_add_property_u64s() where we canOliver O'Halloran1-2/+1
A few places (mostly old code) were using: add_property_cells(hi32(number), lo32(number)); This patch converts them to use the helper rather than doing it manually. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-11-09Fix sparse warning in trace repeat structureStewart Smith1-1/+1
core/trace.c:106:23: warning: incorrect type in assignment (different base types) core/trace.c:106:23: expected restricted beint16_t [usertype] prev_len core/trace.c:106:23: got int Never read anywhere (by anyone), but silences a warning by doing the right thing. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-11-09Fix sparse warnings in init_boot_tracebuf()Stewart Smith1-2/+2
core/trace.c:43:42: warning: incorrect type in assignment (different base types) core/trace.c:43:42: expected restricted beint64_t static [toplevel] [usertype] mask core/trace.c:43:42: got int core/trace.c:44:46: warning: incorrect type in assignment (different base types) core/trace.c:44:46: expected restricted beint32_t static [toplevel] [usertype] max_size core/trace.c:44:46: got unsigned long Shouldn't affect any runtime code, just cleans up the warnings. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-06-11Move boot_tracebuf to BSSStewart Smith1-10/+5
this saves 65720 bytes from skiboot.lid Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-02-06Move skiboot internal things from opal.h to opal-api.hStewart Smith1-0/+1
This is probably not the best collection of things in the world, but it means that opal.h is much closer to being directly usable by an OS. This triggers a bunch of #include fixes throughout the tree. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2014-11-28More trace endian fixes so make check works againBenjamin Herrenschmidt1-19/+24
We need the core to do proper endian among others since that code is compiled in run-trace Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-07-02Initial commit of Open Source releaseBenjamin Herrenschmidt1-0/+244
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>