aboutsummaryrefslogtreecommitdiff
path: root/core/trace.c
AgeCommit message (Collapse)AuthorFilesLines
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>