[prev in list] [next in list] [prev in thread] [next in thread]
List: oprofile-commits
Subject: [oprof-cvs] CVS: oprofile/daemon opd_events.c, 1.5, 1.6 opd_events.h,
From: "Maynard Johnson" <maynardj () users ! sourceforge ! net>
Date: 2008-11-24 16:39:33
Message-ID: E1L4eTF-0000F0-V8 () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/oprofile/oprofile/daemon
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv801/daemon
Modified Files:
opd_events.c opd_events.h opd_mangling.c opd_mangling.h
opd_sfile.c opd_trans.c
Log Message:
whitespace cleanup
Index: opd_events.c
===================================================================
RCS file: /cvsroot/oprofile/oprofile/daemon/opd_events.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -d -r1.5 -r1.6
--- opd_events.c 10 May 2007 23:42:32 -0000 1.5
+++ opd_events.c 24 Nov 2008 16:39:31 -0000 1.6
@@ -35,7 +35,7 @@ static double cpu_speed;
static void malformed_events(void)
{
fprintf(stderr, "oprofiled: malformed events passed "
- "on the command line\n");
+ "on the command line\n");
exit(EXIT_FAILURE);
}
@@ -141,9 +141,9 @@ struct opd_event * find_counter_event(un
void fill_header(struct opd_header * header, unsigned long counter,
- vma_t anon_start, vma_t cg_to_anon_start,
- int is_kernel, int cg_to_is_kernel,
- int spu_samples, uint64_t embed_offset, time_t mtime)
+ vma_t anon_start, vma_t cg_to_anon_start,
+ int is_kernel, int cg_to_is_kernel,
+ int spu_samples, uint64_t embed_offset, time_t mtime)
{
struct opd_event * event = find_counter_event(counter);
Index: opd_events.h
===================================================================
RCS file: /cvsroot/oprofile/oprofile/daemon/opd_events.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -d -r1.4 -r1.5
--- opd_events.h 10 May 2007 23:42:32 -0000 1.4
+++ opd_events.h 24 Nov 2008 16:39:31 -0000 1.5
@@ -40,8 +40,8 @@ struct opd_header;
/** fill the sample file header with event info etc. */
void fill_header(struct opd_header * header, unsigned long counter,
- vma_t anon_start, vma_t anon_end,
- int is_kernel, int cg_to_is_kernel,
+ vma_t anon_start, vma_t anon_end,
+ int is_kernel, int cg_to_is_kernel,
int spu_samples, uint64_t embed_offset, time_t mtime);
#endif /* OPD_EVENTS_H */
Index: opd_mangling.c
===================================================================
RCS file: /cvsroot/oprofile/oprofile/daemon/opd_mangling.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -p -d -r1.26 -r1.27
--- opd_mangling.c 10 May 2007 23:42:33 -0000 1.26
+++ opd_mangling.c 24 Nov 2008 16:39:31 -0000 1.27
@@ -138,7 +138,7 @@ mangle_filename(struct sfile * last, str
}
-int opd_open_sample_file(odb_t * file, struct sfile * last,
+int opd_open_sample_file(odb_t *file, struct sfile *last,
struct sfile * sf, int counter, int cg)
{
char * mangled;
Index: opd_mangling.h
===================================================================
RCS file: /cvsroot/oprofile/oprofile/daemon/opd_mangling.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -d -r1.3 -r1.4
--- opd_mangling.h 29 May 2004 16:29:40 -0000 1.3
+++ opd_mangling.h 24 Nov 2008 16:39:31 -0000 1.4
@@ -27,7 +27,7 @@ struct sfile;
*
* Returns 0 on success.
*/
-int opd_open_sample_file(odb_t * file, struct sfile * last,
+int opd_open_sample_file(odb_t *file, struct sfile *last,
struct sfile * sf, int counter, int cg);
#endif /* OPD_MANGLING_H */
Index: opd_sfile.c
===================================================================
RCS file: /cvsroot/oprofile/oprofile/daemon/opd_sfile.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -p -d -r1.39 -r1.40
--- opd_sfile.c 10 May 2007 23:42:33 -0000 1.39
+++ opd_sfile.c 24 Nov 2008 16:39:31 -0000 1.40
@@ -437,7 +437,7 @@ void sfile_log_sample(struct transient c
if (trans->current->anon)
pc -= trans->current->anon->start;
-
+
if (vsamples)
verbose_sample(trans, pc);
Index: opd_trans.c
===================================================================
RCS file: /cvsroot/oprofile/oprofile/daemon/opd_trans.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -d -r1.18 -r1.19
--- opd_trans.c 15 Jan 2008 02:05:47 -0000 1.18
+++ opd_trans.c 24 Nov 2008 16:39:31 -0000 1.19
@@ -82,7 +82,7 @@ int enough_remaining(struct transient *
}
-static void opd_put_sample(struct transient * trans, unsigned long long pc)
+static void opd_put_sample(struct transient *trans, unsigned long long pc)
{
unsigned long long event;
@@ -194,7 +194,7 @@ static void code_cookie_switch(struct tr
if (vmisc) {
char const * name = verbose_cookie(trans->cookie);
verbprintf(vmisc, "COOKIE_SWITCH to cookie %s(%llx)\n",
- name, trans->cookie);
+ name, trans->cookie);
}
}
@@ -246,11 +246,11 @@ static void code_xen_enter(struct transi
verbprintf(vmisc, "XEN_ENTER_SWITCH to xen\n");
trans->in_kernel = 1;
trans->current = NULL;
- /* subtlety: we must keep trans->cookie cached, even though it's
- * meaningless for Xen - we won't necessarily get a cookie switch
- * on Xen exit. See comments in opd_sfile.c. It seems that we can
- * get away with in_kernel = 1 as long as we supply the correct
- * Xen image, and its address range in startup find_kernel_image
+ /* subtlety: we must keep trans->cookie cached, even though it's
+ * meaningless for Xen - we won't necessarily get a cookie switch
+ * on Xen exit. See comments in opd_sfile.c. It seems that we can
+ * get away with in_kernel = 1 as long as we supply the correct
+ * Xen image, and its address range in startup find_kernel_image
* is modified to look in the Xen image also
*/
}
@@ -264,13 +264,13 @@ handler_t handlers[LAST_CODE + 1] = {
&code_cpu_switch,
&code_cookie_switch,
&code_kernel_enter,
- &code_user_enter,
+ &code_user_enter,
&code_module_loaded,
/* tgid handled differently */
&code_unknown,
&code_trace_begin,
&code_unknown,
- &code_xen_enter,
+ &code_xen_enter,
#if defined(__powerpc__)
&code_spu_profiling,
&code_spu_ctx_switch,
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Oprofile-commits mailing list
Oprofile-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic