| 1 |
// stapdyn session attribute declarations |
| 2 |
// Copyright (C) 2013 Red Hat Inc. |
| 3 |
// |
| 4 |
// This file is part of systemtap, and is free software. You can |
| 5 |
// redistribute it and/or modify it under the terms of the GNU General |
| 6 |
// Public License (GPL); either version 2, or (at your option) any |
| 7 |
// later version. |
| 8 |
|
| 9 |
#ifndef SESSION_ATTRIBUTES_H |
| 10 |
#define SESSION_ATTRIBUTES_H |
| 11 |
|
| 12 |
struct _stp_session_attributes { |
| 13 |
unsigned long log_level; |
| 14 |
unsigned long suppress_warnings; |
| 15 |
unsigned long stp_pid; |
| 16 |
unsigned long target; |
| 17 |
long tz_gmtoff; |
| 18 |
char tz_name[MAXSTRINGLEN]; |
| 19 |
char module_name[MAXSTRINGLEN]; |
| 20 |
char outfile_name[PATH_MAX]; |
| 21 |
}; |
| 22 |
|
| 23 |
static void stp_session_attributes_init(void); |
| 24 |
static int stp_session_attribute_setter(const char *name, const char *value); |
| 25 |
|
| 26 |
#endif // SESSION_ATTRIBUTES_H |