Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
xen
23092-xentrace_print_calculated_numbers_in_calc...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 23092-xentrace_print_calculated_numbers_in_calculate_tbuf_size.patch of Package xen
changeset: 23092:45dafa422812 user: Olaf Hering <olaf@aepfle.de> date: Fri Mar 25 08:57:28 2011 +0000 files: xen/common/trace.c description: xentrace: print calculated numbers in calculate_tbuf_size() Print number of pages to allocate for per-cpu tracebuffer and metadata to ease debugging when allocation fails. Signed-off-by: Olaf Hering <olaf@aepfle.de> --- xen/common/trace.c | 2 ++ 1 file changed, 2 insertions(+) Index: xen-4.1.2-testing/xen/common/trace.c =================================================================== --- xen-4.1.2-testing.orig/xen/common/trace.c +++ xen-4.1.2-testing/xen/common/trace.c @@ -127,6 +127,8 @@ static int calculate_tbuf_size(unsigned t_info_words = num_online_cpus() * pages + t_info_first_offset; t_info_bytes = t_info_words * sizeof(uint32_t); t_info_pages = PFN_UP(t_info_bytes); + printk(XENLOG_INFO "xentrace: requesting %u t_info pages for %u trace pages on %u cpus\n", + t_info_pages, pages, num_online_cpus()); return pages; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor