[lttng-dev] Bugfix: Bug #453
Simarpreet Singh
simarpreet007 at gmail.com
Mon Apr 8 23:41:38 EDT 2013
Hello everyone,
This is Simar here, I'm an undergraduate student from Canada. I was going
through the bugtracker for lttng-tools repo as I'm interested in working on
a project for GSOC 2013 and found a bug that I could fix. It's pretty
simple nothing much really. Below are the details:
Bug: #453
URL: http://bugs.lttng.org/issues/453
Title: "Stoping" typo (and a few more)
Fix: I currently have it on my repo, here's the link:
https://github.com/simar7/lttng-tools
I've forked the lttng-tools repo from github and have a working copy on my
account. For the timebeing I've made the changes there. I've attached a
copy of the diff file with this email. The following are my questions:
1) How do you I submit my changes to the lttng-tools repo? Do I need any
kind of authorization before I can do so?
2) What timezone do you guys work in? I had a few questions to discuss
regarding GSOC 2013 in details and I guess it's better to talk over IRC.
I apologize if this is the wrong mailing-list to ask on, feel free to
correct me!
Thanks,
Simar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130408/6a799e32/attachment.html>
-------------- next part --------------
diff --git src/common/error.c src/common/error.c
index 4fb022c..4b9b46e 100644
--- src/common/error.c
+++ src/common/error.c
@@ -40,7 +40,7 @@ static const char *error_string_array[] = {
[ ERROR_INDEX(LTTNG_ERR_SESS_NOT_FOUND) ] = "Session name not found",
[ ERROR_INDEX(LTTNG_ERR_FATAL) ] = "Fatal error of the session daemon",
[ ERROR_INDEX(LTTNG_ERR_SELECT_SESS) ] = "A session MUST be selected",
- [ ERROR_INDEX(LTTNG_ERR_EXIST_SESS) ] = "Session name already exist",
+ [ ERROR_INDEX(LTTNG_ERR_EXIST_SESS) ] = "Session name already exists",
[ ERROR_INDEX(LTTNG_ERR_NO_EVENT) ] = "Event not found",
[ ERROR_INDEX(LTTNG_ERR_CONNECT_FAIL) ] = "Unable to connect to Unix socket",
[ ERROR_INDEX(LTTNG_ERR_EPERM) ] = "Permission denied",
@@ -58,7 +58,7 @@ static const char *error_string_array[] = {
[ ERROR_INDEX(LTTNG_ERR_KERN_DISABLE_FAIL) ] = "Disable kernel event failed",
[ ERROR_INDEX(LTTNG_ERR_KERN_META_FAIL) ] = "Opening metadata failed",
[ ERROR_INDEX(LTTNG_ERR_KERN_START_FAIL) ] = "Starting kernel trace failed",
- [ ERROR_INDEX(LTTNG_ERR_KERN_STOP_FAIL) ] = "Stoping kernel trace failed",
+ [ ERROR_INDEX(LTTNG_ERR_KERN_STOP_FAIL) ] = "Stopping kernel trace failed",
[ ERROR_INDEX(LTTNG_ERR_KERN_CONSUMER_FAIL) ] = "Kernel consumer start failed",
[ ERROR_INDEX(LTTNG_ERR_KERN_STREAM_FAIL) ] = "Kernel create stream failed",
[ ERROR_INDEX(LTTNG_ERR_KERN_LIST_FAIL) ] = "Listing kernel events failed",
@@ -73,7 +73,7 @@ static const char *error_string_array[] = {
[ ERROR_INDEX(LTTNG_ERR_UST_DISABLE_FAIL) ] = "Disable UST event failed",
[ ERROR_INDEX(LTTNG_ERR_UST_META_FAIL) ] = "Opening metadata failed",
[ ERROR_INDEX(LTTNG_ERR_UST_START_FAIL) ] = "Starting UST trace failed",
- [ ERROR_INDEX(LTTNG_ERR_UST_STOP_FAIL) ] = "Stoping UST trace failed",
+ [ ERROR_INDEX(LTTNG_ERR_UST_STOP_FAIL) ] = "Stopping UST trace failed",
[ ERROR_INDEX(LTTNG_ERR_UST_CONSUMER64_FAIL) ] = "64-bit UST consumer start failed",
[ ERROR_INDEX(LTTNG_ERR_UST_CONSUMER32_FAIL) ] = "32-bit UST consumer start failed",
[ ERROR_INDEX(LTTNG_ERR_UST_STREAM_FAIL) ] = "UST create stream failed",
@@ -82,7 +82,7 @@ static const char *error_string_array[] = {
[ ERROR_INDEX(LTTNG_ERR_UST_EVENT_NOT_FOUND)] = "UST event not found",
[ ERROR_INDEX(LTTNG_ERR_UST_CONTEXT_EXIST)] = "UST context already exist",
[ ERROR_INDEX(LTTNG_ERR_UST_CONTEXT_INVAL)] = "UST invalid context",
- [ ERROR_INDEX(LTTNG_ERR_NEED_ROOT_SESSIOND) ] = "Tracing the kernel requires a root lttng-sessiond daemon and \"tracing\" group user membership",
+ [ ERROR_INDEX(LTTNG_ERR_NEED_ROOT_SESSIOND) ] = "Tracing the kernel requires a root lttng-sessiond daemon or \"tracing\" group user membership",
[ ERROR_INDEX(LTTNG_ERR_TRACE_ALREADY_STARTED) ] = "Tracing already started",
[ ERROR_INDEX(LTTNG_ERR_TRACE_ALREADY_STOPPED) ] = "Tracing already stopped",
[ ERROR_INDEX(LTTNG_ERR_KERN_EVENT_ENOSYS) ] = "Kernel event type not supported",
@@ -91,7 +91,7 @@ static const char *error_string_array[] = {
[ ERROR_INDEX(LTTNG_ERR_NO_KERNCONSUMERD) ] = "No kernel consumer detected",
[ ERROR_INDEX(LTTNG_ERR_EVENT_EXIST_LOGLEVEL) ] = "Event already enabled with different loglevel",
[ ERROR_INDEX(LTTNG_ERR_URL_DATA_MISS) ] = "Missing data path URL",
- [ ERROR_INDEX(LTTNG_ERR_URL_CTRL_MISS) ] = "Missing control data path URL",
+ [ ERROR_INDEX(LTTNG_ERR_URL_CTRL_MISS) ] = "Missing control path URL",
[ ERROR_INDEX(LTTNG_ERR_ENABLE_CONSUMER_FAIL) ] = "Enabling consumer failed",
[ ERROR_INDEX(LTTNG_ERR_RELAYD_CONNECT_FAIL) ] = "Unable to connect to lttng-relayd",
[ ERROR_INDEX(LTTNG_ERR_RELAYD_VERSION_FAIL) ] = "Relay daemon not compatible",
More information about the lttng-dev
mailing list