Nikita Kalyazin [Mon, 15 Jul 2013 07:46:36 +0000 (11:46 +0400)]
[FIX] opcode analysis: parameter type
Nikita Kalyazin [Mon, 15 Jul 2013 07:46:14 +0000 (11:46 +0400)]
[FIX] x86 build fix ARM specific code
Nikita Kalyazin [Mon, 15 Jul 2013 07:45:39 +0000 (11:45 +0400)]
[FIX] x86 build fix (unbalanced brace)
Nikita Kalyazin [Mon, 15 Jul 2013 05:12:10 +0000 (09:12 +0400)]
Merge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
Nikita Kalyazin [Mon, 15 Jul 2013 05:11:53 +0000 (09:11 +0400)]
[FIX] build for x86
Vyacheslav Cherkashin [Sun, 14 Jul 2013 19:24:30 +0000 (23:24 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Sun, 14 Jul 2013 19:23:55 +0000 (23:23 +0400)]
[FIX] add return value
Vyacheslav Cherkashin [Sun, 14 Jul 2013 19:22:16 +0000 (23:22 +0400)]
[FIX] switch_context
pc address not calculation
Nikita Kalyazin [Sun, 14 Jul 2013 18:43:00 +0000 (22:43 +0400)]
[FIX] remove process info generation
Nikita Kalyazin [Sun, 14 Jul 2013 18:41:58 +0000 (22:41 +0400)]
[FIX] running process probes installation
Nikita Kalyazin [Sun, 14 Jul 2013 18:16:08 +0000 (22:16 +0400)]
Merge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
Nikita Kalyazin [Sun, 14 Jul 2013 18:16:03 +0000 (22:16 +0400)]
[FIX] add reset seq num
Alexander Aksenov [Sun, 14 Jul 2013 15:13:15 +0000 (19:13 +0400)]
[IMPROVE] Implement new build system
Vyacheslav Cherkashin [Sun, 14 Jul 2013 14:05:33 +0000 (18:05 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Sun, 14 Jul 2013 14:00:27 +0000 (18:00 +0400)]
[FIX] Add kernel_operations.c
Vyacheslav Cherkashin [Sun, 14 Jul 2013 13:52:22 +0000 (17:52 +0400)]
[FIX] return random value
in swap_writer_module_init()
Alexander Aksenov [Sun, 14 Jul 2013 13:01:03 +0000 (17:01 +0400)]
[STYLE] Code-style fix
Alexander Aksenov [Sun, 14 Jul 2013 12:47:46 +0000 (16:47 +0400)]
[FIX] Writer building
Alexander Aksenov [Sun, 14 Jul 2013 12:29:11 +0000 (16:29 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Sun, 14 Jul 2013 12:28:27 +0000 (16:28 +0400)]
[IMPROVE] Writer: args getting
Now any number of args can be got on x86_32 and ARM arch
Nikita Kalyazin [Sun, 14 Jul 2013 12:18:13 +0000 (16:18 +0400)]
Merge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
Nikita Kalyazin [Sun, 14 Jul 2013 12:11:57 +0000 (16:11 +0400)]
[FIX] context switch: add missing changes
In
e135bc0acf70a71bd8c629adef640cd97d08fb57.
Vyacheslav Cherkashin [Sun, 14 Jul 2013 11:46:41 +0000 (15:46 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Conflicts:
src/modules/writer/swap_writer_module.h
Vyacheslav Cherkashin [Sun, 14 Jul 2013 11:33:54 +0000 (15:33 +0400)]
[IMPROVE] add private field in struct proc_filter
for calculation lowest address and highest address binary file,
when sending message process info
Nikita Kalyazin [Sun, 14 Jul 2013 11:21:36 +0000 (15:21 +0400)]
[IMPROVE] parser: show discarded count (if any)
Nikita Kalyazin [Sun, 14 Jul 2013 11:01:38 +0000 (15:01 +0400)]
[IMPROVE] write: add API for discarded
Nikita Kalyazin [Sun, 14 Jul 2013 11:01:10 +0000 (15:01 +0400)]
[IMPROVE] writer: discarded u64 -> unsigned int
Nikita Kalyazin [Sun, 14 Jul 2013 10:31:24 +0000 (14:31 +0400)]
[IMPROVE] remove useless sampler stop from sampler_exit
swap_sampler_stop() tries to put module, but it's impossible in __exit.
Nikita Kalyazin [Sun, 14 Jul 2013 10:04:43 +0000 (14:04 +0400)]
Merge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
Nikita Kalyazin [Sun, 14 Jul 2013 10:04:37 +0000 (14:04 +0400)]
[FIX] wrong string argument pack again
Vyacheslav Cherkashin [Sun, 14 Jul 2013 10:03:23 +0000 (14:03 +0400)]
[IMPROVE] send mapping on process
Nikita Kalyazin [Sun, 14 Jul 2013 09:46:45 +0000 (13:46 +0400)]
Merge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
Nikita Kalyazin [Sun, 14 Jul 2013 09:46:41 +0000 (13:46 +0400)]
[FIX] correct set/unset features bit operations
Nikita Kalyazin [Sun, 14 Jul 2013 09:46:08 +0000 (13:46 +0400)]
[FIX] correct set/unset features invocation
Nikita Kalyazin [Sun, 14 Jul 2013 09:45:39 +0000 (13:45 +0400)]
Vyacheslav Cherkashin [Sun, 14 Jul 2013 09:35:56 +0000 (13:35 +0400)]
[IMPROVE] add args in handler() for US
Nikita Kalyazin [Sun, 14 Jul 2013 08:50:59 +0000 (12:50 +0400)]
Merge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
Nikita Kalyazin [Sun, 14 Jul 2013 08:49:56 +0000 (12:49 +0400)]
[FIX] time format: nsec:sec -> sec:nsec again
The previous file where I'd done this removed.
Vyacheslav Cherkashin [Sun, 14 Jul 2013 08:46:14 +0000 (12:46 +0400)]
[IMPROVE] On/Off the UserSpaceInst
Nikita Kalyazin [Sun, 14 Jul 2013 08:29:51 +0000 (12:29 +0400)]
[FIX] remove dangling files (swap_msg.[ch]
Nikita Kalyazin [Sun, 14 Jul 2013 07:36:14 +0000 (11:36 +0400)]
[FIX] sampler period: ns -> ms
Nikita Kalyazin [Sat, 13 Jul 2013 17:35:32 +0000 (21:35 +0400)]
[FIX] add context switch feature
Nikita Kalyazin [Sat, 13 Jul 2013 17:34:50 +0000 (21:34 +0400)]
[FIX] us inst: write to new buffer
Nikita Kalyazin [Sat, 13 Jul 2013 17:33:26 +0000 (21:33 +0400)]
[FIX] us inst: enable/disable usm
Nikita Kalyazin [Sat, 13 Jul 2013 17:32:27 +0000 (21:32 +0400)]
[FIX] wrong opcode passing into opcode analysis
Nikita Kalyazin [Sat, 13 Jul 2013 17:26:17 +0000 (21:26 +0400)]
[FIX] add error checks
Alexander Aksenov [Sat, 13 Jul 2013 14:43:06 +0000 (18:43 +0400)]
[FIX] x86 bp and ax registers
Alexander Aksenov [Sat, 13 Jul 2013 14:28:45 +0000 (18:28 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Sat, 13 Jul 2013 14:28:27 +0000 (18:28 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Sat, 13 Jul 2013 14:28:05 +0000 (18:28 +0400)]
[IMPROVE] Add some register defines for x86
Vyacheslav Cherkashin [Sat, 13 Jul 2013 14:27:10 +0000 (18:27 +0400)]
[IMPROVE] add case SWAP_DRIVER_MSG
in swap_device_ioctl()
Alexander Aksenov [Sat, 13 Jul 2013 14:24:25 +0000 (18:24 +0400)]
[IMPROVE] Driver uses writer for user messages
Alexander Aksenov [Sat, 13 Jul 2013 14:20:00 +0000 (18:20 +0400)]
[IMPROVE] Add function to write user space
And change some design
Alexander Aksenov [Sat, 13 Jul 2013 13:34:58 +0000 (17:34 +0400)]
[IMPROVE] Us_manager uses writer
Alexander Aksenov [Sat, 13 Jul 2013 13:32:12 +0000 (17:32 +0400)]
[IMPROVE] Implement SWAP Writer
Alexander Aksenov [Sat, 13 Jul 2013 13:28:12 +0000 (17:28 +0400)]
[FIX] SWAP sampler now uses writer and is compilible
Alexander Aksenov [Sat, 13 Jul 2013 13:21:55 +0000 (17:21 +0400)]
[IMPROVE] SWAP buffer design
Now buffer_description.h doesn't included by default when you including
swap_buffer_module.h
Alexander Aksenov [Sat, 13 Jul 2013 12:28:40 +0000 (16:28 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Sat, 13 Jul 2013 12:28:11 +0000 (16:28 +0400)]
[IMPROVE] Change arguments order in swap_buffer_write
Nikita Kalyazin [Sat, 13 Jul 2013 11:19:35 +0000 (15:19 +0400)]
[FIX] incorrect syscalls feature order
FIXME: actually there are 2 different entities:
- internal feature number (when switching on/off a feature);
- the value to be packed to the buffer.
It is better to split them.
Nikita Kalyazin [Sat, 13 Jul 2013 11:18:35 +0000 (15:18 +0400)]
[FIX] wrong string argument pack
Nikita Kalyazin [Sat, 13 Jul 2013 11:17:20 +0000 (15:17 +0400)]
[FIX] time format: nsec:sec -> sec:nsec
Vyacheslav Cherkashin [Fri, 12 Jul 2013 15:52:26 +0000 (19:52 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Fri, 12 Jul 2013 15:50:37 +0000 (19:50 +0400)]
[FIX] PROBE_TYPE and PROBE_SUB_TYPE
in syscall events
Alexander Aksenov [Fri, 12 Jul 2013 15:03:25 +0000 (19:03 +0400)]
[IMPROVE] Sampler implementation
And new features set prototype
Alexander Aksenov [Fri, 12 Jul 2013 14:31:48 +0000 (18:31 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Fri, 12 Jul 2013 14:29:55 +0000 (18:29 +0400)]
[FEATURE] SWAP Sampler port to kernel swap
It works, but is not bound with other modules
Vyacheslav Cherkashin [Fri, 12 Jul 2013 14:24:16 +0000 (18:24 +0400)]
[IMPROVE] add syscall events
Alexander Aksenov [Fri, 12 Jul 2013 10:53:36 +0000 (14:53 +0400)]
[FIX] Different splice_shrink_spd() declarations
Alexander Aksenov [Fri, 12 Jul 2013 10:13:08 +0000 (14:13 +0400)]
[FIX] Add missing header
Vyacheslav Cherkashin [Fri, 12 Jul 2013 09:10:56 +0000 (13:10 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Thu, 11 Jul 2013 09:31:21 +0000 (13:31 +0400)]
[REFACTOR] rename put_strung() --> put_string()
Vyacheslav Cherkashin [Thu, 11 Jul 2013 09:29:42 +0000 (13:29 +0400)]
[FIX] build error
Alexander Aksenov [Wed, 10 Jul 2013 16:44:49 +0000 (20:44 +0400)]
[IMPROVE] New sleep style and some redesign
Vyacheslav Cherkashin [Wed, 10 Jul 2013 08:55:22 +0000 (12:55 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Wed, 10 Jul 2013 08:50:04 +0000 (12:50 +0400)]
[FIX] delete warning at get_sys_name()
Vyacheslav Cherkashin [Wed, 10 Jul 2013 08:28:46 +0000 (12:28 +0400)]
[IMPROVE] implementation add/remove US inst
Alexander Aksenov [Tue, 9 Jul 2013 14:25:34 +0000 (18:25 +0400)]
[IMPROVE] Implement new buffer workstyle
buffer init - allocates memory only if it wasn't allocated before, or if
attributes (size, subbuffers number) changed. If memory was allocated,
just restarts buffer (moves all subbuffers to write queue and set them
zero full buffer part);
buffer uninit - free memory in all queues (also checks if memory was
allocated);
buffer flush - moves only non-empty buffers to read list and doesn't
stop buffer work (fixed, was implemented before).
Vyacheslav Cherkashin [Tue, 9 Jul 2013 14:02:48 +0000 (18:02 +0400)]
[REFACTOR] rename field 'at_data' in struct app_info_data
Vyacheslav Cherkashin [Tue, 9 Jul 2013 11:56:16 +0000 (15:56 +0400)]
[FIX] remove all probes on syscall
when unload ks_feature module
Vyacheslav Cherkashin [Tue, 9 Jul 2013 11:45:36 +0000 (15:45 +0400)]
[IMPROVE] remove jprobe in ks_features module
Vyacheslav Cherkashin [Tue, 9 Jul 2013 11:27:37 +0000 (15:27 +0400)]
[IMPROVE] add handlers for ks_features
Vyacheslav Cherkashin [Tue, 9 Jul 2013 11:05:08 +0000 (15:05 +0400)]
[FIX] check not implemented syscall
Vyacheslav Cherkashin [Tue, 9 Jul 2013 09:52:53 +0000 (13:52 +0400)]
[IMPROVE] add arguments in ks_feature (for syscall)
Alexander Aksenov [Mon, 8 Jul 2013 16:53:54 +0000 (20:53 +0400)]
[FIX] Mem alloc and buffer sync
Vyacheslav Cherkashin [Mon, 8 Jul 2013 16:17:37 +0000 (20:17 +0400)]
[IMPROVE] add implementation the syscall instrumentation
Alexander Aksenov [Mon, 8 Jul 2013 16:14:06 +0000 (20:14 +0400)]
[FIX] Error with memory allocation
Vyacheslav Cherkashin [Mon, 8 Jul 2013 16:03:26 +0000 (20:03 +0400)]
[REFACTOR] rename: 'irq' --> 'ipc'
Nikita Kalyazin [Sun, 7 Jul 2013 09:06:58 +0000 (13:06 +0400)]
[IMROVE] buffer: improve debug messages
Nikita Kalyazin [Sun, 7 Jul 2013 08:56:35 +0000 (12:56 +0400)]
[FIX] buffer: kernel crash caused by splice_read
- splice_grow_spd must be done _before_ spd structure filling;
- number of pages and partial must be PIPE_DEF_BUFFERS;
- pages that will be passed to splice_to_pipe must be copied, not
moved: it is unknown when they will be returned by tcp stack, so we
must not rely on their reuse;
- small refactoring.
Known issue:
- If a subbuffer is greater than max pipe size, we should splice this
subbuffer partially. So we should not put it to "write list". In
general a new mechanism for this should be implemented.
Tested with:
- 2 x 8Kb buffer;
- 16 x 64Kb buffer.
Vitaliy Cherepanov [Thu, 4 Jul 2013 16:10:29 +0000 (20:10 +0400)]
[IMPROVE] add message len to debug info
Vitaliy Cherepanov [Thu, 4 Jul 2013 13:33:09 +0000 (17:33 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vitaliy Cherepanov [Thu, 4 Jul 2013 13:27:45 +0000 (17:27 +0400)]
[IMPROVE] add parse message debugs
- use: enable define (PARSE_DEBUG) in parser_defs.h
- default state is disabled
Vyacheslav Cherkashin [Thu, 4 Jul 2013 13:00:08 +0000 (17:00 +0400)]
[IMPROVE] add debug message
when command long message
Vyacheslav Cherkashin [Thu, 4 Jul 2013 11:38:11 +0000 (15:38 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Thu, 4 Jul 2013 09:03:56 +0000 (13:03 +0400)]
[IMPROVE] add msg_cmd
Vyacheslav Cherkashin [Thu, 4 Jul 2013 08:52:36 +0000 (12:52 +0400)]
[REFACTOR] redesing driver new
Vyacheslav Cherkashin [Thu, 4 Jul 2013 08:19:10 +0000 (12:19 +0400)]
[REFACTOR] remove isn't used files
remove:
src/modules/parser/protocol_description.h
src/modules/parser/swap_message_parser_errors.h
Vyacheslav Cherkashin [Thu, 4 Jul 2013 08:05:10 +0000 (12:05 +0400)]
[REFACTOR] redesing swap_message_parser_module.c
and rename:
swap_message_parser_module.c --> swap_msg_parser.c
Vyacheslav Cherkashin [Wed, 3 Jul 2013 15:26:25 +0000 (19:26 +0400)]
[REFACTOR] swap_ioctl
rename:
ioctl_commands.h --> swap_ioctl.h
add ioctl:
SWAP_DRIVER_MSG
delete ioctl:
SWAP_DRIVER_MSG_START,
SWAP_DRIVER_MSG_STOP,
SWAP_DRIVER_MSG_CONFIG,
SWAP_DRIVER_MSG_SWAP_INST_ADD,
SWAP_DRIVER_MSG_SWAP_INST_REMOVE