projects
/
lttngtop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add const for most of the babeltrace APi calls
[lttngtop.git]
/
src
/
iostreamtop.c
diff --git
a/src/iostreamtop.c
b/src/iostreamtop.c
index c47926f80945f661f3d373ddc6b79fb153c4daf6..e3a643478d7e3608cbd54a071feb912c02879ef3 100644
(file)
--- a/
src/iostreamtop.c
+++ b/
src/iostreamtop.c
@@
-166,7
+166,7
@@
struct file_history *create_file(struct file_history *history, char *file_name)
enum bt_cb_ret handle_exit_syscall(struct bt_ctf_event *call_data,
void *private_data)
{
enum bt_cb_ret handle_exit_syscall(struct bt_ctf_event *call_data,
void *private_data)
{
- struct definition *scope;
+
const
struct definition *scope;
unsigned long timestamp;
char *comm;
uint64_t ret, tid;
unsigned long timestamp;
char *comm;
uint64_t ret, tid;
@@
-208,7
+208,7
@@
error:
enum bt_cb_ret handle_sys_write(struct bt_ctf_event *call_data,
void *private_data)
{
enum bt_cb_ret handle_sys_write(struct bt_ctf_event *call_data,
void *private_data)
{
- struct definition *scope;
+
const
struct definition *scope;
struct processtop *tmp;
unsigned long timestamp;
uint64_t cpu_id;
struct processtop *tmp;
unsigned long timestamp;
uint64_t cpu_id;
@@
-248,7
+248,7
@@
enum bt_cb_ret handle_sys_read(struct bt_ctf_event *call_data,
void *private_data)
{
struct processtop *tmp;
void *private_data)
{
struct processtop *tmp;
- struct definition *scope;
+
const
struct definition *scope;
unsigned long timestamp;
uint64_t cpu_id;
char *comm;
unsigned long timestamp;
uint64_t cpu_id;
char *comm;
@@
-289,7
+289,7
@@
enum bt_cb_ret handle_sys_open(struct bt_ctf_event *call_data,
{
struct processtop *tmp;
{
struct processtop *tmp;
- struct definition *scope;
+
const
struct definition *scope;
unsigned long timestamp;
uint64_t cpu_id;
char *comm;
unsigned long timestamp;
uint64_t cpu_id;
char *comm;
@@
-328,7
+328,7
@@
error:
enum bt_cb_ret handle_sys_close(struct bt_ctf_event *call_data,
void *private_data)
{
enum bt_cb_ret handle_sys_close(struct bt_ctf_event *call_data,
void *private_data)
{
- struct definition *scope;
+
const
struct definition *scope;
unsigned long timestamp;
int64_t tid;
struct processtop *tmp;
unsigned long timestamp;
int64_t tid;
struct processtop *tmp;
This page took
0.025396 seconds
and
4
git commands to generate.