diff options
author | dsmith <dsmith> | 2006-09-26 21:38:35 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2006-09-26 21:38:35 +0000 |
commit | 402c36ddc19668091f30f4bbe95088af55af9bf1 (patch) | |
tree | 2f50cb73bb7afd26692527e4ae7af9c4f6ac3916 | |
parent | c4357f5103e086ce4189324a8c4f18ddebfc6b9a (diff) | |
download | systemtap-steved-402c36ddc19668091f30f4bbe95088af55af9bf1.tar.gz systemtap-steved-402c36ddc19668091f30f4bbe95088af55af9bf1.tar.xz systemtap-steved-402c36ddc19668091f30f4bbe95088af55af9bf1.zip |
2006-09-26 David Smith <dsmith@redhat.com>
* Makefile: Changed 'stpd' references to 'staprun'.
* librelay.c: Ditto.
* stpd.c: Ditto.
-rw-r--r-- | runtime/stpd/ChangeLog | 6 | ||||
-rw-r--r-- | runtime/stpd/Makefile | 10 | ||||
-rw-r--r-- | runtime/stpd/librelay.c | 4 | ||||
-rw-r--r-- | runtime/stpd/stpd.c | 4 |
4 files changed, 15 insertions, 9 deletions
diff --git a/runtime/stpd/ChangeLog b/runtime/stpd/ChangeLog index 937668b7..05cdc779 100644 --- a/runtime/stpd/ChangeLog +++ b/runtime/stpd/ChangeLog @@ -1,3 +1,9 @@ +2006-09-26 David Smith <dsmith@redhat.com> + + * Makefile: Changed 'stpd' references to 'staprun'. + * librelay.c: Ditto. + * stpd.c: Ditto. + 2006-09-25 Tom Zanussi <zanussi@us.ibm.com> * librelay.c (kill_percpu_threads): Remove printf. diff --git a/runtime/stpd/Makefile b/runtime/stpd/Makefile index 604e363a..c6d08326 100644 --- a/runtime/stpd/Makefile +++ b/runtime/stpd/Makefile @@ -1,7 +1,7 @@ -all: stpd stp_merge stp_dump +all: staprun stp_merge stp_dump -stpd: stpd.c librelay.c ../transport/transport_msgs.h librelay.h - gcc -Wall -O3 -o stpd stpd.c librelay.c -lpthread +staprun: stpd.c librelay.c ../transport/transport_msgs.h librelay.h + gcc -Wall -O3 -o staprun stpd.c librelay.c -lpthread stp_merge: stp_merge.c gcc -Wall -O3 -o stp_merge stp_merge.c @@ -10,7 +10,7 @@ stp_dump: stp_dump.c gcc -Wall -O3 -o stp_dump stp_dump.c debug: stpd.c librelay.c ../transport/transport_msgs.h librelay.h - gcc -Wall -g -D DEBUG -o stpd stpd.c librelay.c -lpthread + gcc -Wall -g -D DEBUG -o staprun stpd.c librelay.c -lpthread clean: - /bin/rm -f stpd stp_merge *.o *~ + /bin/rm -f staprun stp_merge *.o *~ diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c index 89c3b767..f39b0785 100644 --- a/runtime/stpd/librelay.c +++ b/runtime/stpd/librelay.c @@ -1,5 +1,5 @@ /* - * libstp - stpd 'library' + * libstp - staprun 'library' * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -551,7 +551,7 @@ int init_stp(int print_summary) ti.n_subbufs = 0; ti.target = target_pid; if (send_request(STP_TRANSPORT_INFO, &ti, sizeof(ti)) < 0) { - fprintf(stderr, "stpd failed because TRANSPORT_INFO returned an error.\n"); + fprintf(stderr, "staprun failed because TRANSPORT_INFO returned an error.\n"); if (target_cmd) kill (target_pid, SIGKILL); close(control_channel); diff --git a/runtime/stpd/stpd.c b/runtime/stpd/stpd.c index a815d5be..5420cf80 100644 --- a/runtime/stpd/stpd.c +++ b/runtime/stpd/stpd.c @@ -53,7 +53,7 @@ static void usage(char *prog) "\t[-b bufsize] [-o FILE] kmod-name [kmod-options]\n", prog); fprintf(stderr, "-p Print only. Don't log to files.\n"); fprintf(stderr, "-q Quiet. Don't display trace to stdout.\n"); - fprintf(stderr, "-c cmd. Command \'cmd\' will be run and stpd will exit when it does.\n"); + fprintf(stderr, "-c cmd. Command \'cmd\' will be run and staprun will exit when it does.\n"); fprintf(stderr, " _stp_target will contain the pid for the command.\n"); fprintf(stderr, "-t pid. Sets _stp_target to pid.\n"); fprintf(stderr, "-d pid. Pass the systemtap driver's pid.\n"); @@ -170,7 +170,7 @@ int main(int argc, char **argv) } if (init_stp(!quiet)) { - //fprintf(stderr, "Couldn't initialize stpd. Exiting.\n"); + //fprintf(stderr, "Couldn't initialize staprun. Exiting.\n"); exit(1); } |