Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ica09216dc213f6b914e20544d2c6a352ed54a2ad
|
|
Theoretically there might be a situation when stream
error occured but procfs_read_process_cmdline func will
return 0 (no error) and NULL as cmd line.
This patch prevents such situation by returning error
code in such scenarios.
Change-Id: I7b02dd50fbd7a17ab8ba7cdafb28ea5e785bb22a
|
|
Change-Id: I5e3ec60bfc89c1a1ee93a05f0cd1339aed78a4d4
|
|
Change name from matcher to filter.
Now if no filter is defined, the PROCESS task
will return all available process info.
Change-Id: Ia26df85dbb6a7e48e4ca3557d6ff7f1e8c0b998f
|
|
In rare situation when process could have malicious name
containing some tricky characters like whitespaces and numbers -
the parsing result may be wrong.
This patch fixes this issue by loading whole stat file into
memory and then proceed with parsing.
Change-Id: Iede6e0b6d1362a56449e1a53a0348f6cd7b4f768
|
|
Change-Id: I8caf912d4b4a4c800cad784d8a52b23a32c913ec
|
|
Change-Id: I51dec8fe498c1b9b6fc385cbe899f4d020756a82
|
|
Change-Id: I3a6a71d0ec24ef55e51ccedf218212dbdb90405a
|
|
Remove code duplication.
Change-Id: I60adf02a3134d402a3bf0c1bdd12e4eb725a0844
|
|
Change-Id: I8d08ab69d195bbee5aea8abd915b9342fa0fda8b
|
|
- Move top generator to separate file
- remove "target" from top generator
Change-Id: I5eedcd44f5eaf959328fdc96562d0996a28bae0d
|
|
Change-Id: I4dfa0b6c692e89ff259dba95378e2dbf94977cfe
|
|
Change-Id: I21df30c3c57d78a938bd1d177f3aa988c170de40
|
|
Change-Id: If06549372f095047fe52395667e9dc249970338e
|
|
Change-Id: I7a2c41d56e6bdbd65eb909a2ae9fc35bdcd47fd3
|
|
Introduce new generic report_generator_t.
Change-Id: Ib2bdb246413542e08dc22fad22352639ccf253c6
|
|
Change-Id: Ic1664627b6562f78e7b34d70a2bbdb45f0e07f4a
|
|
report cpu and memory usage at once, remove "target" config option.
Change-Id: I5ad40cff0733ea3c8ee258fa9854ea9d17fa95e0
|
|
Make stats module handle only system-wide statistics.
Change-Id: If9b391e7a635ec3185a3459a25ed49c758721f98
|
|
Change-Id: Ib21b5172763663d83e160016f645e276a8c0ad88
|
|
Change-Id: I6c9b3f61441185b936d91a16113fff35c6319d5f
|
|
The interval parameter was unused in fact, so remove it
to simplify code.
Change-Id: Ic527f753773f2a0f482398a5a43c26859aadfae3
|
|
Change-Id: I6388c069fd659808060d25d39d6c77abe32d6791
|
|
Change-Id: I31dd633e5df8fca2f624740f4a55e2053b514d97
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
Change-Id: Ic4dd1274a976da898c007e8a5a0e893c17ed6a68
|
|
Change-Id: I36e38d424d25443561db10b0b7d28698677a6ca8
|
|
- implement getting appid
- return memory as KiB not bytes
Change-Id: I21e4af8c8627ae52a6be8afb77eb1a03df26166b
|
|
Change-Id: I7b01b1c1a3901c0d1adbbbf129dbd6f963f3c494
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
Change-Id: Idf095953b96b929cc76417f35ccc7c925fd2af96
|
|
Make procfs functions & structures names map exeacly to filenames from /proc/
Change-Id: Ic3635f4db29be194ebfc97d107fc71cd82d2df1b
|
|
Change-Id: I66b3c8b9c1b9461abc16e617968effabf5946de5
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
Change-Id: I2c5e8ae3d8ea520c4ed86233ccde5f6309c81c11
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
Change-Id: Ic0aced66216ff37e11ad5cbd013f330c379807e7
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
This patch adds additional objects:
proc-scanner - for scanning whole /proc/ dir
process - to gather information from /proc/<pid>/*
Change-Id: Ic0ad58fb9a0ae59e9390b3d109440d91d25e90da
|
|
Change-Id: I08ee3b7a1e6eaeba8c37835129d78221bb62e6f5
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
Change-Id: I0bf64847369d7969abad3fa80760ae7d9e76da70
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
Change-Id: Ib0e58ad1afacceb75749e862adc43e618e7a8f6f
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
Change-Id: I708fd42d26c6f604cc48ceef253e054dd3cb03ad
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
|
|
Change-Id: Ifc140f9d3ed40ba1fd347a1ec52526ab84004d7b
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
Use realtime clock for report time.
Change-Id: I4623ef15d9c5b842077035525248015051b9e34b
|
|
Change-Id: I73700bfbd122980aa865c80a7147954873fcbf31
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
|
|
Change-Id: Iecc773aecbc6f44d404e7edd4eea13e62868683f
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
Change-Id: Ibf7e126b86ddb70144448f87da167a55a4dfb7cf
|
|
Move the statistic calculation logic out-of report-generator.
Change-Id: I4993271bc9e0dbb0dd665f48f6fe66933e7b8bc3
|
|
Change-Id: Ib1f4eaa08058488bde38d7bf9f82a65e446baaa6
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
|
|
|
|
Change-Id: I8820b70f3f4fbca245276ec99b49c1de5a7eb8b3
|
|
Change-Id: I1fa1db698ba6e71778bee11dc606c9fa3b503f13
|