Louis Boval
1900517819
[pidcat] Allow package to specify a process as well …
...
Summary: Android apps can use multiple processes (eg, chrome), which are identified as <package_name>:<process_name> in logs. The names are defined in the manifest.
The main process is referred to as simply <package_name> by android.
Add the ability to specify a target process as part of what was until now the package name in pidcat, or all processes if no process is specified.
Usage:
* pidcat <package_name> will match all of an app's processes (catchall).
* pidcat <package_name>:<process_name> will match a given named process.
** In particular, pidcat <package_name>: will ensure only the app's main/default process is matched.
Test Plan: Run the script, try out with no process, empty (aka default) process, named process. Try multiple entries.
2014-03-12 23:35:47 -07:00
Jake Wharton
b19221ac33
Merge pull request #48 from burntcookie90/master
...
Add path inclusion instructions
2014-03-12 09:56:48 -07:00
Vishnu Rajeevan
767da21162
Add path inclusion instructions
2014-03-12 11:51:27 -04:00
Jake Wharton
a2209ae303
Mention that adb on the path is required.
2014-03-11 22:45:41 -07:00
Jake Wharton
99f94e3552
Homebrew!
2014-03-11 20:21:19 -07:00
Jake Wharton
d4d265a6b0
Merge pull request #44 from gnlnx/backtrace
...
Print backtrace after a native crash
2014-02-15 22:45:29 -08:00
Omar A Rodriguez
bb8701b514
Print backtrace after a native crash
2014-02-14 00:31:41 -08:00
Jake Wharton
55c87865ba
Prepare version 1.4.1.
2014-01-09 15:54:08 -08:00
Jake Wharton
eda219681a
Tweak header.
2014-01-09 15:54:03 -08:00
Jake Wharton
3360b521ba
Merge pull request #42 from paleozogt/master
...
making pidcat robust to when the loglevel isn't one of VDIWEF
2014-01-03 14:18:26 -08:00
Aaron Simmons
5217c75ec0
making pidcat robust to when the loglevel isn't one of VDIWEF (!?)
2014-01-03 15:11:09 -07:00
Jake Wharton
4eb4e68392
Revert "Merge pull request #32 from thorikawa/fix_samsung_logcat_issue"
...
This reverts commit 87ad7dc1d9 , reversing
changes made to aa6e3f0f69 .
2013-12-02 00:50:08 -08:00
Jake Wharton
87ad7dc1d9
Merge pull request #32 from thorikawa/fix_samsung_logcat_issue
...
Use ps command to detect PIDs
2013-10-21 10:15:41 -07:00
Jake Wharton
aa6e3f0f69
Add back-dated change log and tags.
2013-10-19 11:03:36 -07:00
Jake Wharton
f386a22144
Merge pull request #36 from colriot/master
...
Made package arg optional.
2013-10-12 11:05:51 -07:00
colriot
41d3d4ccfc
Made package arg optional.
2013-10-12 16:04:20 +02:00
Jake Wharton
09eaba028a
Merge pull request #35 from trhura/master
...
added option to always display tag name, so that we can pipe its output ...
2013-10-07 19:56:40 -07:00
Thura Hlaing
6b6034ab67
fixed unicode print bug
2013-09-23 16:16:35 +06:30
Thura Hlaing
bf51754642
added option to always display tag name, so that we can pipe its output and filter by tags
2013-09-12 10:17:00 +06:30
Poly Takahiro Horikawa
98ff1fbf90
Add unit to interval constant name
2013-08-21 17:32:46 -07:00
Poly Takahiro Horikawa
675bfcf889
Add thread task to check ps command regularly
2013-08-21 16:27:10 -07:00
Poly Takahiro Horikawa
18674c501c
Added pid initializer using ps command
2013-08-21 15:02:07 -07:00
Jake Wharton
1e997a26e8
Merge pull request #30 from mlc/tabs_to_spaces
...
Replace tabs with four spaces.
2013-07-18 18:45:31 -07:00
mike castleman
f643e4c3b4
Replace tabs with four spaces.
...
It appears that java stack dumps contain the tab character. This causes
line length computation to be messed up, so (on at least some
terminals), the lines end up wrapping twice -- once when we hit the
right edge of the terminal, and then again a few characters later when
indent_wrap() inserts a newline. By using spaces, where pidcat and the
terminal can agree on the width of the character, we obviate this
problem.
2013-07-18 16:38:04 -04:00
Jake Wharton
eb0c5b2b58
Merge pull request #29 from codebutler/master
...
Ignore bad utf8 data. Fixes #22 .
2013-07-15 13:42:35 -07:00
Eric Butler
2ae38a1955
Ignore bad utf8 data. Fixes #22 .
2013-07-15 11:27:20 -07:00
Jake Wharton
cc3857b8af
Merge pull request #28 from dmarcato/master
...
Better regex for line detection
2013-07-12 08:45:12 -07:00
Dario Marcato
83dde7639a
Fix trim changes
2013-07-12 15:03:40 +02:00
Dario Marcato
c39bd56415
Better regex
2013-07-12 14:56:14 +02:00
Jake Wharton
908c21b4bf
Merge pull request #27 from xperimental/simple-select
...
Add arguments for selecting device/emulator analogue to adb
2013-07-07 08:52:07 -07:00
Robert Jacob
e7a02cbefb
Added arguments for selecting device/emulator analogue to adb.
2013-07-07 17:50:47 +02:00
Jake Wharton
9e8c6daa0d
Merge pull request #26 from xperimental/fix-bugline
...
Fix bug line matching.
2013-07-07 08:05:12 -07:00
Robert Jacob
064a73d2dc
Fix bug line matching.
2013-07-07 16:13:27 +02:00
Jake Wharton
9ca81d87df
Remove craziness around native tag bug line regex.
2013-07-03 16:35:50 -07:00
Jake Wharton
a99784eaa5
Add 'F' level to log levels.
2013-06-24 09:16:07 -07:00
Jake Wharton
571826e8c0
UTF-8 decode and trim each line.
...
Closes #18 .
2013-06-19 14:18:52 -07:00
Jake Wharton
106a4ceacd
Code style tweaks.
2013-06-19 11:05:43 -07:00
Lucio Maciel
d1ca77b0e9
Add support for -s device_serial option
...
It will pass the '-s serial_number' option to adb to select
which device to monitor
2013-06-19 08:36:09 -03:00
Jake Wharton
f624fe4b22
Merge pull request #12 from shawnma/master
...
Support logcat level filtering
2013-06-18 18:37:57 -07:00
Jake Wharton
d6819b04ae
Use subprocess for adb command. Do not fail if we can't get terminal size.
2013-06-18 18:32:11 -07:00
Jake Wharton
e14490a6e7
Merge branch 'master' of https://github.com/JakeWharton/pidcat
2013-06-18 08:26:24 -07:00
Jake Wharton
78aba9d35e
Python 3-compatibility.
2013-06-18 08:26:06 -07:00
Shawn Ma
4095d3aae7
text change: "Minimum level"
2013-06-15 11:00:47 -07:00
Jake Wharton
b3f9887bd6
Merge pull request #15 from tomrozb/typo
...
Fix typo 'match_pacakges'
2013-06-15 09:13:19 -07:00
Tomasz Rozbicki
0253471785
fix typo 'match_pacakges'
2013-06-15 17:50:12 +02:00
Jake Wharton
7330fc44ca
Merge pull request #14 from tomrozb/tag_fatal
...
support for the 'fatal' tag
2013-06-14 17:51:42 -07:00
Tomasz Rozbicki
97bc4d1352
support for the 'fatal' tag
2013-06-15 02:07:42 +02:00
Jake Wharton
cf8138a1e9
Proc start needs a newline.
2013-06-13 20:54:27 -07:00
Shawn Ma
d53f70917a
support level filtering
2013-06-13 14:08:13 -07:00
Jake Wharton
a568a42b86
Merge pull request #6 from edisonw/master
...
Added support for multiple proceses
2013-06-13 12:31:33 -07:00