diff options
author | Alice Frosi <alice@linux.vnet.ibm.com> | 2017-09-14 12:35:45 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-09-28 07:29:40 +0200 |
commit | bb59c2da3fb4ecc83258ca6b2ecde70d80c33465 (patch) | |
tree | 8a6e777240ead83ad7f6503c7e51d0613db7a8bb /arch/s390/kernel/runtime_instr.c | |
parent | 79962038dffab28094782406d8e27b095a26ce51 (diff) | |
download | lwn-bb59c2da3fb4ecc83258ca6b2ecde70d80c33465.tar.gz lwn-bb59c2da3fb4ecc83258ca6b2ecde70d80c33465.zip |
s390/runtime_instrumentation: clean up struct runtime_instr_cb
Update runtime_instr_cb structure to be consistent with the runtime
instrumentation documentation.
Signed-off-by: Alice Frosi <alice@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/runtime_instr.c')
-rw-r--r-- | arch/s390/kernel/runtime_instr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/s390/kernel/runtime_instr.c b/arch/s390/kernel/runtime_instr.c index e2c541db829f..8ae851cfea6c 100644 --- a/arch/s390/kernel/runtime_instr.c +++ b/arch/s390/kernel/runtime_instr.c @@ -49,13 +49,13 @@ static void disable_runtime_instr(void) static void init_runtime_instr_cb(struct runtime_instr_cb *cb) { - cb->buf_limit = 0xfff; - cb->pstate = 1; - cb->pstate_set_buf = 1; - cb->pstate_sample = 1; - cb->pstate_collect = 1; + cb->rla = 0xfff; + cb->s = 1; + cb->k = 1; + cb->ps = 1; + cb->pc = 1; cb->key = PAGE_DEFAULT_KEY; - cb->valid = 1; + cb->v = 1; } SYSCALL_DEFINE1(s390_runtime_instr, int, command) |