|
@@ -288,7 +288,7 @@ static int add_new_comm(struct tep_handle *pevent, const char *comm, int pid)
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * pevent_register_comm - register a pid / comm mapping
|
|
|
+ * tep_register_comm - register a pid / comm mapping
|
|
|
* @pevent: handle for the pevent
|
|
|
* @comm: the command line to register
|
|
|
* @pid: the pid to map the command line to
|
|
@@ -296,7 +296,7 @@ static int add_new_comm(struct tep_handle *pevent, const char *comm, int pid)
|
|
|
* This adds a mapping to search for command line names with
|
|
|
* a given pid. The comm is duplicated.
|
|
|
*/
|
|
|
-int pevent_register_comm(struct tep_handle *pevent, const char *comm, int pid)
|
|
|
+int tep_register_comm(struct tep_handle *pevent, const char *comm, int pid)
|
|
|
{
|
|
|
struct cmdline_list *item;
|
|
|
|
|
@@ -685,7 +685,7 @@ find_printk(struct tep_handle *pevent, unsigned long long addr)
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * pevent_register_print_string - register a string by its address
|
|
|
+ * tep_register_print_string - register a string by its address
|
|
|
* @pevent: handle for the pevent
|
|
|
* @fmt: the string format to register
|
|
|
* @addr: the address the string was located at
|
|
@@ -693,8 +693,8 @@ find_printk(struct tep_handle *pevent, unsigned long long addr)
|
|
|
* This registers a string by the address it was stored in the kernel.
|
|
|
* The @fmt passed in is duplicated.
|
|
|
*/
|
|
|
-int pevent_register_print_string(struct tep_handle *pevent, const char *fmt,
|
|
|
- unsigned long long addr)
|
|
|
+int tep_register_print_string(struct tep_handle *pevent, const char *fmt,
|
|
|
+ unsigned long long addr)
|
|
|
{
|
|
|
struct printk_list *item = malloc(sizeof(*item));
|
|
|
char *p;
|