kernel/swap-modules.git
10 years ago[REFACTOR] remove code is not used
Vyacheslav Cherkashin [Thu, 25 Jul 2013 08:48:57 +0000 (12:48 +0400)]
[REFACTOR] remove code is not used

10 years ago[FIX] commit ee8b8e5ddc
Vyacheslav Cherkashin [Thu, 25 Jul 2013 08:47:16 +0000 (12:47 +0400)]
[FIX] commit ee8b8e5ddc

10 years ago[FIX] kretprobe_trampoline() for x86
Vyacheslav Cherkashin [Wed, 24 Jul 2013 11:41:00 +0000 (15:41 +0400)]
[FIX] kretprobe_trampoline() for x86

10 years ago[REFACTOR] new interface dbi_unregister_kprobe()
Vyacheslav Cherkashin [Wed, 24 Jul 2013 09:22:17 +0000 (13:22 +0400)]
[REFACTOR] new interface dbi_unregister_kprobe()

-void dbi_unregister_kprobe(struct kprobe *p, struct task_struct *task)
+void dbi_unregister_kprobe(struct kprobe *p)

10 years ago[FIX] get_args() for x86
Vyacheslav Cherkashin [Tue, 23 Jul 2013 14:50:20 +0000 (18:50 +0400)]
[FIX] get_args() for x86

10 years ago[FIX] add null to the end of the string
Vyacheslav Cherkashin [Tue, 23 Jul 2013 09:58:57 +0000 (13:58 +0400)]
[FIX] add null to the end of the string

10 years ago[FIX] 'sys_execve' arguments
Vyacheslav Cherkashin [Tue, 23 Jul 2013 09:22:24 +0000 (13:22 +0400)]
[FIX] 'sys_execve' arguments

10 years ago[FIX] calculation pc_addr for x86
Vyacheslav Cherkashin [Tue, 23 Jul 2013 07:24:47 +0000 (11:24 +0400)]
[FIX] calculation pc_addr for x86

10 years ago[PROTO] expand field 'use_features' 8 --> 16 byte
Vyacheslav Cherkashin [Tue, 23 Jul 2013 06:43:50 +0000 (10:43 +0400)]
[PROTO] expand field 'use_features' 8 --> 16 byte

10 years ago[PROTO] probe subtype is a bitmask now
Vyacheslav Cherkashin [Mon, 22 Jul 2013 10:27:08 +0000 (14:27 +0400)]
[PROTO] probe subtype is a bitmask now

10 years agoMerge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Mon, 22 Jul 2013 07:25:08 +0000 (11:25 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel

10 years ago[FIX] definition mapping pages by means of handle_mm_fault()
Vyacheslav Cherkashin [Mon, 22 Jul 2013 07:20:15 +0000 (11:20 +0400)]
[FIX] definition mapping pages by means of handle_mm_fault()

10 years ago[FIX] Ticket #12
Alexander Aksenov [Fri, 19 Jul 2013 13:06:34 +0000 (17:06 +0400)]
[FIX] Ticket #12

Now swap_buffer_write() returned value correctly handled

10 years agoMerge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Fri, 19 Jul 2013 12:30:54 +0000 (16:30 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel

10 years ago[FIX] Ticket #9
Alexander Aksenov [Fri, 19 Jul 2013 12:27:37 +0000 (16:27 +0400)]
[FIX] Ticket #9

Issue refers only to x86 platform.
In kprobe_handler() now prepare_singlestep() done even if pre_handler
returns non-null value (according to sources it occures nearly always).
It removes interrupt flag and sets trap flag.

10 years ago[FIX] remove warning message
Vyacheslav Cherkashin [Wed, 17 Jul 2013 09:48:59 +0000 (13:48 +0400)]
[FIX] remove warning message

10 years ago[FIX] build.sh: rm -f
Nikita Kalyazin [Mon, 15 Jul 2013 18:04:35 +0000 (22:04 +0400)]
[FIX] build.sh: rm -f

10 years ago[FIX] call_page_fault called once
Nikita Kalyazin [Mon, 15 Jul 2013 17:55:33 +0000 (21:55 +0400)]
[FIX] call_page_fault called once

10 years ago[IMPROVE] driver: supress unsuccessful write to buffer
Nikita Kalyazin [Mon, 15 Jul 2013 16:25:00 +0000 (20:25 +0400)]
[IMPROVE] driver: supress unsuccessful write to buffer

10 years agoMerge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
Nikita Kalyazin [Mon, 15 Jul 2013 15:38:16 +0000 (19:38 +0400)]
Merge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel

10 years ago[STYLE] Rename driver->driver_old, driver_new->driver
Alexander Aksenov [Mon, 15 Jul 2013 14:38:11 +0000 (18:38 +0400)]
[STYLE] Rename driver->driver_old, driver_new->driver

10 years ago[STYLE] Code style
Alexander Aksenov [Mon, 15 Jul 2013 14:23:00 +0000 (18:23 +0400)]
[STYLE] Code style

10 years ago[FIX] For linux-3.0
Alexander Aksenov [Mon, 15 Jul 2013 13:10:06 +0000 (17:10 +0400)]
[FIX] For linux-3.0

10 years ago[FIX] Remove dependencies from old driver
Alexander Aksenov [Mon, 15 Jul 2013 12:41:23 +0000 (16:41 +0400)]
[FIX] Remove dependencies from old driver

10 years ago[FIX] 1de20ba06b56ad82f779ae9a7872745c094072e3 again
Nikita Kalyazin [Mon, 15 Jul 2013 11:12:21 +0000 (15:12 +0400)]
[FIX] 1de20ba06b56ad82f779ae9a7872745c094072e3 again

10 years ago[IMPROVE] add stop.sh for modules
Nikita Kalyazin [Mon, 15 Jul 2013 09:51:36 +0000 (13:51 +0400)]
[IMPROVE] add stop.sh for modules

10 years ago[IMPROVE] build.sh: command line args
Nikita Kalyazin [Mon, 15 Jul 2013 09:51:17 +0000 (13:51 +0400)]
[IMPROVE] build.sh: command line args

10 years ago[FIX] For 0525593eaae73c00e1edfc47aff7a151b4f4cac8
Alexander Aksenov [Mon, 15 Jul 2013 09:11:30 +0000 (13:11 +0400)]
[FIX] For 0525593eaae73c00e1edfc47aff7a151b4f4cac8

10 years ago[FIX] Uprobe building for arm arch
Alexander Aksenov [Mon, 15 Jul 2013 09:03:21 +0000 (13:03 +0400)]
[FIX] Uprobe building for arm arch

10 years ago[IMPROVE] initial version of build.sh and start.sh
Nikita Kalyazin [Mon, 15 Jul 2013 08:31:48 +0000 (12:31 +0400)]
[IMPROVE] initial version of build.sh and start.sh

10 years ago[FIX] x86 syscall arguments fix
Nikita Kalyazin [Mon, 15 Jul 2013 07:46:56 +0000 (11:46 +0400)]
[FIX] x86 syscall arguments fix

10 years ago[FIX] opcode analysis: parameter type
Nikita Kalyazin [Mon, 15 Jul 2013 07:46:36 +0000 (11:46 +0400)]
[FIX] opcode analysis: parameter type

10 years ago[FIX] x86 build fix ARM specific code
Nikita Kalyazin [Mon, 15 Jul 2013 07:46:14 +0000 (11:46 +0400)]
[FIX] x86 build fix ARM specific code

10 years ago[FIX] x86 build fix (unbalanced brace)
Nikita Kalyazin [Mon, 15 Jul 2013 07:45:39 +0000 (11:45 +0400)]
[FIX] x86 build fix (unbalanced brace)

10 years agoMerge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
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

10 years ago[FIX] build for x86
Nikita Kalyazin [Mon, 15 Jul 2013 05:11:53 +0000 (09:11 +0400)]
[FIX] build for x86

11 years agoMerge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
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

11 years ago[FIX] add return value
Vyacheslav Cherkashin [Sun, 14 Jul 2013 19:23:55 +0000 (23:23 +0400)]
[FIX] add return value

11 years ago[FIX] switch_context
Vyacheslav Cherkashin [Sun, 14 Jul 2013 19:22:16 +0000 (23:22 +0400)]
[FIX] switch_context

pc address not calculation

11 years ago[FIX] remove process info generation
Nikita Kalyazin [Sun, 14 Jul 2013 18:43:00 +0000 (22:43 +0400)]
[FIX] remove process info generation

11 years ago[FIX] running process probes installation
Nikita Kalyazin [Sun, 14 Jul 2013 18:41:58 +0000 (22:41 +0400)]
[FIX] running process probes installation

11 years agoMerge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
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

11 years ago[FIX] add reset seq num
Nikita Kalyazin [Sun, 14 Jul 2013 18:16:03 +0000 (22:16 +0400)]
[FIX] add reset seq num

11 years ago[IMPROVE] Implement new build system
Alexander Aksenov [Sun, 14 Jul 2013 15:13:15 +0000 (19:13 +0400)]
[IMPROVE] Implement new build system

11 years agoMerge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
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

11 years ago[FIX] Add kernel_operations.c
Alexander Aksenov [Sun, 14 Jul 2013 14:00:27 +0000 (18:00 +0400)]
[FIX] Add kernel_operations.c

11 years ago[FIX] return random value
Vyacheslav Cherkashin [Sun, 14 Jul 2013 13:52:22 +0000 (17:52 +0400)]
[FIX] return random value

in swap_writer_module_init()

11 years ago[STYLE] Code-style fix
Alexander Aksenov [Sun, 14 Jul 2013 13:01:03 +0000 (17:01 +0400)]
[STYLE] Code-style fix

11 years ago[FIX] Writer building
Alexander Aksenov [Sun, 14 Jul 2013 12:47:46 +0000 (16:47 +0400)]
[FIX] Writer building

11 years agoMerge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
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

11 years ago[IMPROVE] Writer: args getting
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

11 years agoMerge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
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

11 years ago[FIX] context switch: add missing changes
Nikita Kalyazin [Sun, 14 Jul 2013 12:11:57 +0000 (16:11 +0400)]
[FIX] context switch: add missing changes

In e135bc0acf70a71bd8c629adef640cd97d08fb57.

11 years agoMerge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
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

11 years ago[IMPROVE] add private field in struct proc_filter
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

11 years ago[IMPROVE] parser: show discarded count (if any)
Nikita Kalyazin [Sun, 14 Jul 2013 11:21:36 +0000 (15:21 +0400)]
[IMPROVE] parser: show discarded count (if any)

11 years ago[IMPROVE] write: add API for discarded
Nikita Kalyazin [Sun, 14 Jul 2013 11:01:38 +0000 (15:01 +0400)]
[IMPROVE] write: add API for discarded

11 years ago[IMPROVE] writer: discarded u64 -> unsigned int
Nikita Kalyazin [Sun, 14 Jul 2013 11:01:10 +0000 (15:01 +0400)]
[IMPROVE] writer: discarded u64 -> unsigned int

11 years ago[IMPROVE] remove useless sampler stop from sampler_exit
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.

11 years agoMerge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
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

11 years ago[FIX] wrong string argument pack again
Nikita Kalyazin [Sun, 14 Jul 2013 10:04:37 +0000 (14:04 +0400)]
[FIX] wrong string argument pack again

11 years ago[IMPROVE] send mapping on process
Vyacheslav Cherkashin [Sun, 14 Jul 2013 10:03:23 +0000 (14:03 +0400)]
[IMPROVE] send mapping on process

11 years agoMerge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
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

11 years ago[FIX] correct set/unset features bit operations
Nikita Kalyazin [Sun, 14 Jul 2013 09:46:41 +0000 (13:46 +0400)]
[FIX] correct set/unset features bit operations

11 years ago[FIX] correct set/unset features invocation
Nikita Kalyazin [Sun, 14 Jul 2013 09:46:08 +0000 (13:46 +0400)]
[FIX] correct set/unset features invocation

11 years ago[FIX] add missing include
Nikita Kalyazin [Sun, 14 Jul 2013 09:45:39 +0000 (13:45 +0400)]
[FIX] add missing include

Fix for cc5f9bb39c1b9bf10a49d31e7d4a57bab5927b5c.

11 years ago[IMPROVE] add args in handler() for US
Vyacheslav Cherkashin [Sun, 14 Jul 2013 09:35:56 +0000 (13:35 +0400)]
[IMPROVE] add args in handler() for US

11 years agoMerge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
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

11 years ago[FIX] time format: nsec:sec -> sec:nsec again
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.

11 years ago[IMPROVE] On/Off the UserSpaceInst
Vyacheslav Cherkashin [Sun, 14 Jul 2013 08:46:14 +0000 (12:46 +0400)]
[IMPROVE] On/Off the UserSpaceInst

11 years ago[FIX] remove dangling files (swap_msg.[ch]
Nikita Kalyazin [Sun, 14 Jul 2013 08:29:51 +0000 (12:29 +0400)]
[FIX] remove dangling files (swap_msg.[ch]

11 years ago[FIX] sampler period: ns -> ms
Nikita Kalyazin [Sun, 14 Jul 2013 07:36:14 +0000 (11:36 +0400)]
[FIX] sampler period: ns -> ms

11 years ago[FIX] add context switch feature
Nikita Kalyazin [Sat, 13 Jul 2013 17:35:32 +0000 (21:35 +0400)]
[FIX] add context switch feature

11 years ago[FIX] us inst: write to new buffer
Nikita Kalyazin [Sat, 13 Jul 2013 17:34:50 +0000 (21:34 +0400)]
[FIX] us inst: write to new buffer

11 years ago[FIX] us inst: enable/disable usm
Nikita Kalyazin [Sat, 13 Jul 2013 17:33:26 +0000 (21:33 +0400)]
[FIX] us inst: enable/disable usm

11 years ago[FIX] wrong opcode passing into opcode analysis
Nikita Kalyazin [Sat, 13 Jul 2013 17:32:27 +0000 (21:32 +0400)]
[FIX] wrong opcode passing into opcode analysis

11 years ago[FIX] add error checks
Nikita Kalyazin [Sat, 13 Jul 2013 17:26:17 +0000 (21:26 +0400)]
[FIX] add error checks

11 years ago[FIX] x86 bp and ax registers
Alexander Aksenov [Sat, 13 Jul 2013 14:43:06 +0000 (18:43 +0400)]
[FIX] x86 bp and ax registers

11 years agoMerge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
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

11 years agoMerge 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

11 years ago[IMPROVE] Add some register defines for x86
Alexander Aksenov [Sat, 13 Jul 2013 14:28:05 +0000 (18:28 +0400)]
[IMPROVE] Add some register defines for x86

11 years ago[IMPROVE] add case SWAP_DRIVER_MSG
Vyacheslav Cherkashin [Sat, 13 Jul 2013 14:27:10 +0000 (18:27 +0400)]
[IMPROVE] add case SWAP_DRIVER_MSG

in swap_device_ioctl()

11 years ago[IMPROVE] Driver uses writer for user messages
Alexander Aksenov [Sat, 13 Jul 2013 14:24:25 +0000 (18:24 +0400)]
[IMPROVE] Driver uses writer for user messages

11 years ago[IMPROVE] Add function to write user space
Alexander Aksenov [Sat, 13 Jul 2013 14:20:00 +0000 (18:20 +0400)]
[IMPROVE] Add function to write user space

And change some design

11 years ago[IMPROVE] Us_manager uses writer
Alexander Aksenov [Sat, 13 Jul 2013 13:34:58 +0000 (17:34 +0400)]
[IMPROVE] Us_manager uses writer

11 years ago[IMPROVE] Implement SWAP Writer
Alexander Aksenov [Sat, 13 Jul 2013 13:32:12 +0000 (17:32 +0400)]
[IMPROVE] Implement SWAP Writer

11 years ago[FIX] SWAP sampler now uses writer and is compilible
Alexander Aksenov [Sat, 13 Jul 2013 13:28:12 +0000 (17:28 +0400)]
[FIX] SWAP sampler now uses writer and is compilible

11 years ago[IMPROVE] SWAP buffer design
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

11 years agoMerge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
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

11 years ago[IMPROVE] Change arguments order in swap_buffer_write
Alexander Aksenov [Sat, 13 Jul 2013 12:28:11 +0000 (16:28 +0400)]
[IMPROVE] Change arguments order in swap_buffer_write

11 years ago[FIX] incorrect syscalls feature order
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.

11 years ago[FIX] wrong string argument pack
Nikita Kalyazin [Sat, 13 Jul 2013 11:18:35 +0000 (15:18 +0400)]
[FIX] wrong string argument pack

11 years ago[FIX] time format: nsec:sec -> sec:nsec
Nikita Kalyazin [Sat, 13 Jul 2013 11:17:20 +0000 (15:17 +0400)]
[FIX] time format: nsec:sec -> sec:nsec

11 years agoMerge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
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

11 years ago[FIX] PROBE_TYPE and PROBE_SUB_TYPE
Vyacheslav Cherkashin [Fri, 12 Jul 2013 15:50:37 +0000 (19:50 +0400)]
[FIX] PROBE_TYPE and PROBE_SUB_TYPE

in syscall events

11 years ago[IMPROVE] Sampler implementation
Alexander Aksenov [Fri, 12 Jul 2013 15:03:25 +0000 (19:03 +0400)]
[IMPROVE] Sampler implementation

And new features set prototype

11 years agoMerge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
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

11 years ago[FEATURE] SWAP Sampler port to kernel swap
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

11 years ago[IMPROVE] add syscall events
Vyacheslav Cherkashin [Fri, 12 Jul 2013 14:24:16 +0000 (18:24 +0400)]
[IMPROVE] add syscall events

11 years ago[FIX] Different splice_shrink_spd() declarations
Alexander Aksenov [Fri, 12 Jul 2013 10:53:36 +0000 (14:53 +0400)]
[FIX] Different splice_shrink_spd() declarations