Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
plymouth
plymouth-trace-lines
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plymouth-trace-lines of Package plymouth
From: Jeff Mahoney <jeffm@suse.com> Subject: plymouth: Add line numbers to tracing output The plymouth tracing output lists the function but there are many cases in which the same message is issued from multiple places in the same function, which makes debugging more difficult. This patch adds the line number to the output to uniquely identify each site. Signed-off-by: Jeff Mahoney <jeffm@suse.com> --- src/libply/ply-logger.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/src/libply/ply-logger.h +++ b/src/libply/ply-logger.h @@ -91,8 +91,8 @@ do ply_logger_flush (logger); \ errno = _old_errno; \ ply_logger_inject (logger, \ - "[%s] %45.45s:" format "\r\n", \ - __FILE__, __func__, ##args); \ + "[%s:%d] %45.45s:" format "\r\n", \ + __FILE__, __LINE__, __func__, ##args); \ ply_logger_flush (logger); \ errno = _old_errno; \ } \
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